Fix build on systems with broken bison
authorChris Lattner <sabre@nondot.org>
Fri, 2 Jun 2006 18:21:11 +0000 (18:21 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 2 Jun 2006 18:21:11 +0000 (18:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28658 91177308-0d34-0410-b5e6-96231b3b80d8

projects/Stacker/lib/compiler/Makefile

index 8e67fbe3c18bb055b4a68562880463301a36874e..053df43694aaa5b7801f99d0ab91f16cdffb3f1a 100644 (file)
@@ -11,4 +11,9 @@ ifdef PARSE_DEBUG
 INCLUDES += -DPARSE_DEBUG
 endif
 
 INCLUDES += -DPARSE_DEBUG
 endif
 
+# Disable -pedantic for this library, as bison output isn't necessarily 
+# -pedantic clean.
+CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
+CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
+
 $(ObjDir)/Lexer.o : $(PROJ_SRC_DIR)/StackerParser.h
 $(ObjDir)/Lexer.o : $(PROJ_SRC_DIR)/StackerParser.h