diff options
Diffstat (limited to 'lib/AsmParser/Makefile')
-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 01bbc81045..75ae34542a 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 |