Use provided llvm-defined variables instead of twisting user-controlled knobs.
[oota-llvm.git] / examples / ExceptionDemo / Makefile
index 06bba66e8bf3b19c89e9a07ae9a3e007d69b87f1..480744730eb79a87b6bf42972c3e1ed462810d0b 100644 (file)
@@ -9,9 +9,8 @@
 LEVEL = ../..
 TOOLNAME = ExceptionDemo
 EXAMPLE_TOOL = 1
+REQUIRES_EH = 1
 
 LINK_COMPONENTS := jit interpreter nativecodegen
 
 include $(LEVEL)/Makefile.common
-
-CXXFLAGS += -fexceptions