mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
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
This commit is contained in:
parent
c95cf1d5e7
commit
57de7a4542
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user