Fix -Wdeprecated warnings due to the use of copy ops on SCEVPredicate derived class...
[oota-llvm.git] / lib / Support / Makefile
index 48c21f4fd9e0e7e6437c5db8ae5a62cea5a45aee..39426aaaaceef8065f94357bc45f4c2603f18293 100644 (file)
@@ -11,7 +11,13 @@ LEVEL = ../..
 LIBRARYNAME = LLVMSupport
 BUILD_ARCHIVE = 1
 
-## FIXME: This only requires RTTI because tblgen uses it.  Fix that.
-REQUIRES_RTTI = 1
+EXTRA_DIST = Unix Win32 README.txt
 
 include $(LEVEL)/Makefile.common
+
+CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
+CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
+
+ifdef LLVM_VERSION_INFO
+CompileCommonOpts += -DLLVM_VERSION_INFO='"$(LLVM_VERSION_INFO)"'
+endif