For PR1328:
[oota-llvm.git] / utils / TableGen / Makefile
index b396cd73ff0e769657b4571f710c206ffd783b80..5b93bf2e54fcbd5482f27d08d61eeae021309b3d 100644 (file)
@@ -6,14 +6,21 @@
 # the University of Illinois Open Source License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
+
 LEVEL = ../..
 TOOLNAME = tblgen
+NO_INSTALL = 1;
 USEDLIBS = LLVMSupport.a LLVMSystem.a
 EXTRA_DIST = FileLexer.cpp.cvs FileLexer.l.cvs \
             FileParser.cpp.cvs FileParser.h.cvs FileParser.y.cvs
+REQUIRES_EH := 1
 
 include $(LEVEL)/Makefile.common
 
+# Disable -pedantic for tblgen
+CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
+CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))
+
 #
 # Make the source file depend on the header file.  In this way, dependencies
 # (which depend on the source file) won't get generated until bison is done