Fix configure and make build of llvm examples.
[oota-llvm.git] / examples / ExceptionDemo / Makefile
index 06bba66e8bf3b19c89e9a07ae9a3e007d69b87f1..895b61dafcd3c8fff2029ce0eff01deb9bcc1841 100644 (file)
@@ -9,9 +9,8 @@
 LEVEL = ../..
 TOOLNAME = ExceptionDemo
 EXAMPLE_TOOL = 1
+REQUIRES_EH = 1
 
-LINK_COMPONENTS := jit interpreter nativecodegen
+LINK_COMPONENTS := mcjit nativecodegen
 
 include $(LEVEL)/Makefile.common
-
-CXXFLAGS += -fexceptions