summaryrefslogtreecommitdiff
path: root/utils/TableGen/Makefile
diff options
context:
space:
mode:
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