From: Chris Lattner Date: Fri, 2 Jun 2006 18:21:11 +0000 (+0000) Subject: Fix build on systems with broken bison X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1969e3ce9805b6d6225c18f06e3a92d7c737e2a0;p=oota-llvm.git Fix build on systems with broken bison git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28658 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/projects/Stacker/lib/compiler/Makefile b/projects/Stacker/lib/compiler/Makefile index 8e67fbe3c18..053df43694a 100644 --- a/projects/Stacker/lib/compiler/Makefile +++ b/projects/Stacker/lib/compiler/Makefile @@ -11,4 +11,9 @@ ifdef PARSE_DEBUG 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