Added LLVM_ENABLE_RTTI and LLVM_ENABLE_EH options that allow RTTI and EH
[oota-llvm.git] / examples / ExceptionDemo / Makefile
index 06bba66e8bf3b19c89e9a07ae9a3e007d69b87f1..58d9def0b7eea2d33e874011f80d705f1e6ddcc2 100644 (file)
@@ -9,9 +9,8 @@
 LEVEL = ../..
 TOOLNAME = ExceptionDemo
 EXAMPLE_TOOL = 1
+REQUIRES_EH = 1
 
-LINK_COMPONENTS := jit interpreter nativecodegen
+LINK_COMPONENTS := jit mcjit nativecodegen
 
 include $(LEVEL)/Makefile.common
-
-CXXFLAGS += -fexceptions