Fix PR8441, a thread unsafe static variable in our dynamic library loading facilities.
[oota-llvm.git] / lib / CompilerDriver / Makefile
index e5bf3e10a79e5665d8897074d9f64bd49ab30b7b..8e8b73ca8f83f628476d628de80593171bd37ac1 100644 (file)
 LEVEL = ../..
 
 # We don't want this library to appear in `llvm-config --libs` output, so its
-# name doesn't start with "LLVM".
+# name doesn't start with "LLVM" and NO_LLVM_CONFIG is set.
 
 LIBRARYNAME = CompilerDriver
 LINK_COMPONENTS = support system
-REQUIRES_EH := 1
+NO_LLVM_CONFIG = 1
+
 
 include $(LEVEL)/Makefile.common