summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/Makefile.xorg
diff options
context:
space:
mode:
authorMarcin Slusarz <[email protected]>2011-10-13 18:44:40 +0200
committerMarcin Slusarz <[email protected]>2011-10-13 19:02:20 +0200
commit349e4db99e938f8ee8826b0d27e490c66a1e8356 (patch)
tree25c6a67afff4ac1ce7e3e9c7d84c22eb5af1b3b1 /src/gallium/targets/Makefile.xorg
parent7a4fee71aa74f0e73cf6141c08ba1d536f20cd17 (diff)
st/xorg: fix build without LLVM
Diffstat (limited to 'src/gallium/targets/Makefile.xorg')
-rw-r--r--src/gallium/targets/Makefile.xorg2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/targets/Makefile.xorg b/src/gallium/targets/Makefile.xorg
index 9269375e851..c96eded501c 100644
--- a/src/gallium/targets/Makefile.xorg
+++ b/src/gallium/targets/Makefile.xorg
@@ -33,6 +33,8 @@ LD = $(CXX)
LDFLAGS += $(LLVM_LDFLAGS)
USE_CXX=1
DRIVER_LINKS += $(LLVM_LIBS) -lm -ldl
+else
+LDFLAGS += -lstdc++
endif