summaryrefslogtreecommitdiff
path: root/utils/TableGen/Makefile
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
commitd386e55e33c600d1a9af9317764f6b3415e3b922 (patch)
tree93f46ca1e61a1efd3c4338711809e4b552b2b880 /utils/TableGen/Makefile
parentced39bdf382382fb7be00b9bfb0c9cd2a3262c3f (diff)
downloadllvm-d386e55e33c600d1a9af9317764f6b3415e3b922.tar.gz
llvm-d386e55e33c600d1a9af9317764f6b3415e3b922.tar.bz2
llvm-d386e55e33c600d1a9af9317764f6b3415e3b922.tar.xz
Don't build tblgen with -pedantic or -Wno-long-long
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/Makefile')
-rw-r--r--utils/TableGen/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/TableGen/Makefile b/utils/TableGen/Makefile
index b396cd73ff..ec6d7c8b4d 100644
--- a/utils/TableGen/Makefile
+++ b/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