From d386e55e33c600d1a9af9317764f6b3415e3b922 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Thu, 1 Jun 2006 18:20:23 +0000 Subject: 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 --- utils/TableGen/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils/TableGen/Makefile') 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 -- cgit v1.2.3