From 1969e3ce9805b6d6225c18f06e3a92d7c737e2a0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 2 Jun 2006 18:21:11 +0000 Subject: [PATCH] Fix build on systems with broken bison git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28658 91177308-0d34-0410-b5e6-96231b3b80d8 --- projects/Stacker/lib/compiler/Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.34.1