Compile RuntimeException.o with -fexception
This commit is contained in:
parent
11dde3e83f
commit
442922f56a
@ -13,6 +13,7 @@ CLINGS := $(wildcard $(MODDIR)/lib/Interpreter/*.cpp) \
|
||||
$(wildcard $(MODDIR)/lib/MetaProcessor/*.cpp) \
|
||||
$(wildcard $(MODDIR)/lib/Utils/*.cpp)
|
||||
CLINGO := $(call stripsrc,$(CLINGS:.cpp=.o))
|
||||
CLINGEXCEPO := $(call stripsrc,$(MODDIR)/lib/Interpreter/RuntimeException.o)
|
||||
|
||||
CLINGDEP := $(CLINGO:.o=.d)
|
||||
|
||||
@ -143,10 +144,11 @@ endif
|
||||
ifneq ($(LLVMDEV),)
|
||||
$(CLINGO) : CLINGCXXFLAGS += '-DCLING_SRCDIR_INCL="$(CLINGDIR)/include"' \
|
||||
'-DCLING_INSTDIR_INCL="$(shell cd $(LLVMDIRI); pwd)/include"'
|
||||
$(CLINGEXEO): CLINGEXCCXXFLAGS := -fexceptions
|
||||
$(CLINGEXEO): CLINGCXXFLAGS += -I$(TEXTINPUTDIRS)
|
||||
$(CLINGEXEO): CLINGEXCCXXFLAGS := -fexceptions
|
||||
else
|
||||
endif
|
||||
|
||||
$(CLINGEXCEPO): CLINGEXCCXXFLAGS := -fexceptions
|
||||
$(CLINGETC) : $(LLVMLIB)
|
||||
$(CLINGO) : $(CLINGETC)
|
||||
|
Loading…
x
Reference in New Issue
Block a user