summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xa
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2011-07-04 09:26:27 +0200
committerThomas Hellstrom <[email protected]>2011-07-04 09:55:51 +0200
commitf81ac1840a25ad39a9d7e46e4951e5eb45a05971 (patch)
treec723741aff91a4a29310245d00442f23ddf391dd /src/gallium/state_trackers/xa
parenta2a5ba5145e9e86470d2a2fa956677c6bc8c9597 (diff)
st/xa: Fix crosscompile builds with nonstandard ld locations
Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/xa')
-rw-r--r--src/gallium/state_trackers/xa/Makefile2
1 files changed, 1 insertions, 1 deletions
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