diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-02 18:21:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-02 18:21:11 +0000 |
commit | d1fe870e080b6a2f8d82430a949f4c2c1980eac5 (patch) | |
tree | 22299e8cb345281c69465c0a6a21e21b2aef5716 /llvm/projects/Stacker/lib | |
parent | f42ccafe00ed7c0c5917509b3c58081f88c5709d (diff) | |
download | bcm5719-llvm-d1fe870e080b6a2f8d82430a949f4c2c1980eac5.tar.gz bcm5719-llvm-d1fe870e080b6a2f8d82430a949f4c2c1980eac5.zip |
Fix build on systems with broken bison
llvm-svn: 28658
Diffstat (limited to 'llvm/projects/Stacker/lib')
-rw-r--r-- | llvm/projects/Stacker/lib/compiler/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/projects/Stacker/lib/compiler/Makefile b/llvm/projects/Stacker/lib/compiler/Makefile index 8e67fbe3c18..053df43694a 100644 --- a/llvm/projects/Stacker/lib/compiler/Makefile +++ b/llvm/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 |