From f81ac1840a25ad39a9d7e46e4951e5eb45a05971 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Mon, 4 Jul 2011 09:26:27 +0200 Subject: [PATCH] st/xa: Fix crosscompile builds with nonstandard ld locations Signed-off-by: Thomas Hellstrom --- src/gallium/state_trackers/xa/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2