mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Fix build on systems with bad bison's
llvm-svn: 28657
This commit is contained in:
parent
d9472f85e9
commit
5cba9093c8
@ -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