diff --git a/llvm/examples/ExceptionDemo/Makefile b/llvm/examples/ExceptionDemo/Makefile index 06bba66e8bf3..480744730eb7 100644 --- a/llvm/examples/ExceptionDemo/Makefile +++ b/llvm/examples/ExceptionDemo/Makefile @@ -9,9 +9,8 @@ LEVEL = ../.. TOOLNAME = ExceptionDemo EXAMPLE_TOOL = 1 +REQUIRES_EH = 1 LINK_COMPONENTS := jit interpreter nativecodegen include $(LEVEL)/Makefile.common - -CXXFLAGS += -fexceptions