Module: Mesa
Branch: master
Commit: f81ac1840a25ad39a9d7e46e4951e5eb45a05971
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f81ac1840a25ad39a9d7e46e4951e5eb45a05971

Author: Thomas Hellstrom <[email protected]>
Date:   Mon Jul  4 09:26:27 2011 +0200

st/xa: Fix crosscompile builds with nonstandard ld locations

Signed-off-by: Thomas Hellstrom <[email protected]>

---

 src/gallium/state_trackers/xa/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/state_trackers/xa/Makefile 
b/src/gallium/state_trackers/xa/Makefile
index a31db6e..d95f938 100644
--- a/src/gallium/state_trackers/xa/Makefile
+++ b/src/gallium/state_trackers/xa/Makefile
@@ -42,7 +42,7 @@ default: $(XA_LIB_NAME)
 
 # Make the library
 $(XA_LIB_NAME): depend $(OBJECTS)
-       $(LD) -r -o $(XA_LIB_NAME) $(OBJECTS)
+       $(CC) -r -nostdlib -o $(XA_LIB_NAME) $(OBJECTS)
 
 install: FORCE
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to