[llvm-commits] CVS: llvm/lib/AsmParser/Makefile
Chris Lattner
lattner at cs.uiuc.edu
Fri Jun 2 11:20:40 PDT 2006
Changes in directory llvm/lib/AsmParser:
Makefile updated: 1.10 -> 1.11
---
Log message:
Fix build on systems with bad bison's
---
Diffs of the changes: (+5 -0)
Makefile | 5 +++++
1 files changed, 5 insertions(+)
Index: llvm/lib/AsmParser/Makefile
diff -u llvm/lib/AsmParser/Makefile:1.10 llvm/lib/AsmParser/Makefile:1.11
--- llvm/lib/AsmParser/Makefile:1.10 Wed May 31 20:30:26 2006
+++ llvm/lib/AsmParser/Makefile Fri Jun 2 13:20:28 2006
@@ -15,6 +15,11 @@
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
More information about the llvm-commits
mailing list