From: Chris Lattner Date: Fri, 2 Jun 2006 18:20:28 +0000 (+0000) Subject: Fix build on systems with bad bison's X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=57de7a454276cd523a28b99f655b9e09ee6beadf;p=oota-llvm.git 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 --- diff --git a/lib/AsmParser/Makefile b/lib/AsmParser/Makefile index 01bbc810459..75ae34542a8 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