[Mesa-dev] [PATCH] gallium/auxiliary: Fix build with newer LLVM.

Johannes Obermayr johannesobermayr at gmx.de
Sat Oct 27 09:07:57 PDT 2012


rtti was removed from more llvm libraries.
Thanks to d0k for the hint via IRC #llvm on irc.oftc.net
---
 src/gallium/auxiliary/Makefile |    4 ++++
 1 Datei geändert, 4 Zeilen hinzugefügt(+)

diff --git a/src/gallium/auxiliary/Makefile b/src/gallium/auxiliary/Makefile
index 3ba3f9c..690b7f5 100644
--- a/src/gallium/auxiliary/Makefile
+++ b/src/gallium/auxiliary/Makefile
@@ -3,6 +3,10 @@ include $(TOP)/configs/current
 
 LIBNAME = gallium
 
+ifeq ($(LLVM_VERSION),3.2)
+	CXXFLAGS += -fno-exceptions -fno-rtti
+endif
+
 # get source lists
 include Makefile.sources
 
-- 
1.7.10.4



More information about the mesa-dev mailing list