From: Thomas Hellstrom Date: Mon, 4 Jul 2011 07:26:27 +0000 (+0200) Subject: st/xa: Fix crosscompile builds with nonstandard ld locations X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f81ac1840a25ad39a9d7e46e4951e5eb45a05971;p=mesa.git st/xa: Fix crosscompile builds with nonstandard ld locations Signed-off-by: Thomas Hellstrom --- diff --git a/src/gallium/state_trackers/xa/Makefile b/src/gallium/state_trackers/xa/Makefile index a31db6eb370..d95f9382630 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