Don't build tblgen with -pedantic or -Wno-long-long
authorReid Spencer <rspencer@reidspencer.com>
Thu, 1 Jun 2006 18:20:23 +0000 (18:20 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 1 Jun 2006 18:20:23 +0000 (18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28638 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/Makefile

index b396cd73ff0e769657b4571f710c206ffd783b80..ec6d7c8b4d4c03c58d2e18456dd3c8f2938a1e32 100644 (file)
@@ -14,6 +14,10 @@ EXTRA_DIST = FileLexer.cpp.cvs FileLexer.l.cvs \
 
 include $(LEVEL)/Makefile.common
 
+# Disable -pedantic for tblgen
+CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
+CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
+
 #
 # Make the source file depend on the header file.  In this way, dependencies
 # (which depend on the source file) won't get generated until bison is done