aboutsummaryrefslogtreecommitdiff
path: root/lib/Bytecode
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Archive/Makefile3
-rw-r--r--lib/Bytecode/Reader/Makefile1
2 files changed, 3 insertions, 1 deletions
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