summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-06-01 18:20:23 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-06-01 18:20:23 +0000
commit5cb722f320417a5a4032154ec30f9143af883a99 (patch)
treee1d61701c6933a86e2f0643fdb477fdd9ed93bf0 /llvm/utils/TableGen
parent8273cdb75417cc7f00cf4fac229e8f05261f2ac2 (diff)
downloadbcm5719-llvm-5cb722f320417a5a4032154ec30f9143af883a99.tar.gz
bcm5719-llvm-5cb722f320417a5a4032154ec30f9143af883a99.zip
Don't build tblgen with -pedantic or -Wno-long-long
llvm-svn: 28638
Diffstat (limited to 'llvm/utils/TableGen')
-rw-r--r--llvm/utils/TableGen/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/Makefile b/llvm/utils/TableGen/Makefile
index b396cd73ff0..ec6d7c8b4d4 100644
--- a/llvm/utils/TableGen/Makefile
+++ b/llvm/utils/TableGen/Makefile
@@ -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
OpenPOWER on IntegriCloud