aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/gallium/auxiliary/Makefile
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-12-05 09:14:52 +0100
committermarha <marha@users.sourceforge.net>2012-12-05 09:14:52 +0100
commite82692e521240c5f8592f9ce56c9d5b3d68870ec (patch)
tree3293b7fa02b1f5aa58b74f1fe02444085be2281e /mesalib/src/gallium/auxiliary/Makefile
parentb8da71ffb17d3d16706db04115e9ba1dd8bc49b9 (diff)
downloadvcxsrv-e82692e521240c5f8592f9ce56c9d5b3d68870ec.tar.gz
vcxsrv-e82692e521240c5f8592f9ce56c9d5b3d68870ec.tar.bz2
vcxsrv-e82692e521240c5f8592f9ce56c9d5b3d68870ec.zip
mesa git update 5 dec 2012
mesa: 484a8dcfa8c8b91b8e99174b5e4953264f32789e
Diffstat (limited to 'mesalib/src/gallium/auxiliary/Makefile')
-rw-r--r--mesalib/src/gallium/auxiliary/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/mesalib/src/gallium/auxiliary/Makefile b/mesalib/src/gallium/auxiliary/Makefile
index dc2800337..72208f1a7 100644
--- a/mesalib/src/gallium/auxiliary/Makefile
+++ b/mesalib/src/gallium/auxiliary/Makefile
@@ -13,7 +13,11 @@ C_SOURCES += \
$(GALLIVM_SOURCES)
CPP_SOURCES += \
$(GALLIVM_CPP_SOURCES)
-CXXFLAGS += $(LLVM_CXXFLAGS)
+
+# LLVM >= 3.2 requires -fno-rtti
+ifeq ($(shell expr `echo $(LLVM_VERSION) | sed -e 's/\([0-9]\)\.\([0-9]\)/\10\2/g'` \>= 302),1)
+CXXFLAGS += -fno-rtti
+endif
endif