Ugly hack! Add helper functions InsertInFlightSetEntry and
[oota-llvm.git] / lib / AsmParser / Makefile
index f10aaba4582b5d5e984453d8eccf9945b1f4a77c..75ae34542a8cb387c367b1764edbca9164832170 100644 (file)
@@ -9,11 +9,17 @@
 
 LEVEL = ../..
 LIBRARYNAME := LLVMAsmParser
+BUILD_ARCHIVE = 1
 EXTRA_DIST := Lexer.cpp.cvs Lexer.l.cvs \
               llvmAsmParser.cpp.cvs llvmAsmParser.h.cvs llvmAsmParser.y.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