summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorJohannes Obermayr <[email protected]>2012-04-07 20:31:41 +0200
committerChristoph Bumiller <[email protected]>2012-04-07 20:33:44 +0200
commit7bb1c784a30124a7259a2cc30356f7d88d27a767 (patch)
tree4e4d9504780a2422b36109afaed51ac3c2656870 /src/gallium/state_trackers
parenta50d695ac20d894278b8e4bc1e0e8a159cd08a1d (diff)
st/xa: Link with -Wl,-r instead of -r.
This is required to link with clang: /usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000400160.
Diffstat (limited to 'src/gallium/state_trackers')
-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 85223f8c0dc..2843d23e0b2 100644
--- a/src/gallium/state_trackers/xa/Makefile
+++ b/src/gallium/state_trackers/xa/Makefile
@@ -39,7 +39,7 @@ default: $(XA_LIB_NAME)
# Make the library
$(XA_LIB_NAME): depend $(OBJECTS)
- $(CC) -r -nostdlib -o $(XA_LIB_NAME) $(OBJECTS) $(CFLAGS)
+ $(CC) -Wl,-r -nostdlib -o $(XA_LIB_NAME) $(OBJECTS) $(CFLAGS)
install: FORCE