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
+LINK_COMPONENTS = support
+NO_LLVM_CONFIG = 1
+
include $(LEVEL)/Makefile.common