diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-02 18:20:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-02 18:20:28 +0000 |
commit | 57de7a454276cd523a28b99f655b9e09ee6beadf (patch) | |
tree | 35a138bb6039e070c3163e37789e349c941fa70f | |
parent | c95cf1d5e749da2215e1bea8c606a425f3c481e7 (diff) | |
download | external_llvm-57de7a454276cd523a28b99f655b9e09ee6beadf.zip external_llvm-57de7a454276cd523a28b99f655b9e09ee6beadf.tar.gz external_llvm-57de7a454276cd523a28b99f655b9e09ee6beadf.tar.bz2 |
Fix build on systems with bad bison's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28657 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/AsmParser/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/AsmParser/Makefile b/lib/AsmParser/Makefile index 01bbc81..75ae345 100644 --- a/lib/AsmParser/Makefile +++ b/lib/AsmParser/Makefile @@ -15,6 +15,11 @@ EXTRA_DIST := Lexer.cpp.cvs Lexer.l.cvs \ include $(LEVEL)/Makefile.common +# 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)) + # # Make the object code file for the lexer depend upon the header file generated # by the Bison parser. This prevents the Lexer from being compiled before the |