aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Archive/Makefile3
-rw-r--r--lib/AsmParser/Makefile1
-rw-r--r--lib/Bytecode/Archive/Makefile3
-rw-r--r--lib/Bytecode/Reader/Makefile1
4 files changed, 6 insertions, 2 deletions
diff --git a/lib/Archive/Makefile b/lib/Archive/Makefile
index e8cc803c78..37e67ca4fb 100644
--- a/lib/Archive/Makefile
+++ b/lib/Archive/Makefile
@@ -12,6 +12,7 @@ LIBRARYNAME = LLVMArchive
# We only want an archive so only those modules actually used by a tool are
# included.
-BUILD_ARCHIVE = 1
+BUILD_ARCHIVE := 1
+REQUIRES_EH := 1
include $(LEVEL)/Makefile.common
diff --git a/lib/AsmParser/Makefile b/lib/AsmParser/Makefile
index 75ae34542a..9755571d07 100644
--- a/lib/AsmParser/Makefile
+++ b/lib/AsmParser/Makefile
@@ -10,6 +10,7 @@
LEVEL = ../..
LIBRARYNAME := LLVMAsmParser
BUILD_ARCHIVE = 1
+REQUIRES_EH := 1
EXTRA_DIST := Lexer.cpp.cvs Lexer.l.cvs \
llvmAsmParser.cpp.cvs llvmAsmParser.h.cvs llvmAsmParser.y.cvs
diff --git a/lib/Bytecode/Archive/Makefile b/lib/Bytecode/Archive/Makefile
index e8cc803c78..37e67ca4fb 100644
--- a/lib/Bytecode/Archive/Makefile
+++ b/lib/Bytecode/Archive/Makefile
@@ -12,6 +12,7 @@ LIBRARYNAME = LLVMArchive
# We only want an archive so only those modules actually used by a tool are
# included.
-BUILD_ARCHIVE = 1
+BUILD_ARCHIVE := 1
+REQUIRES_EH := 1
include $(LEVEL)/Makefile.common
diff --git a/lib/Bytecode/Reader/Makefile b/lib/Bytecode/Reader/Makefile
index a86d008715..989eba7408 100644
--- a/lib/Bytecode/Reader/Makefile
+++ b/lib/Bytecode/Reader/Makefile
@@ -9,6 +9,7 @@
LEVEL = ../../..
LIBRARYNAME = LLVMBCReader
BUILD_ARCHIVE = 1
+REQUIRES_EH := 1
include $(LEVEL)/Makefile.common