Fix building ThreadLocal.cpp with --disable-threads.
[oota-llvm.git] / lib / Support / Makefile
index 1e52c9a556b25ae4dc8d2af1e35f21018d01663c..d68e500ca5f457fe9244215bcc607cc0a6849979 100644 (file)
@@ -1,16 +1,22 @@
-##===- lib/Support/Makefile ------------------------------*- Makefile -*-===##
-# 
+##===- lib/Support/Makefile --------------------------------*- Makefile -*-===##
+#
 #                     The LLVM Compiler Infrastructure
 #
-# This file was developed by the LLVM research group and is distributed under
-# the University of Illinois Open Source License. See LICENSE.TXT for details.
-# 
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
 ##===----------------------------------------------------------------------===##
 
 LEVEL = ../..
-PARALLEL_DIRS=bzip2
 LIBRARYNAME = LLVMSupport
 BUILD_ARCHIVE = 1
-REQUIRES_EH := 1
+
+## FIXME: This only requires RTTI because tblgen uses it.  Fix that.
+REQUIRES_RTTI = 1
+
+EXTRA_DIST = Unix Win32 README.txt
 
 include $(LEVEL)/Makefile.common
+
+CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
+CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))