Skip to content

Commit

Permalink
msys2 remove USING_SJLJ_EXCEPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
stahta01 committed Feb 6, 2023
1 parent dfaa464 commit 2fbd58a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deps/llvm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ ifeq ($(LLVM_ASSERTIONS), 1)
LLVM_CMAKE += -DLLVM_ENABLE_ASSERTIONS:BOOL=ON
endif # LLVM_ASSERTIONS
ifeq ($(OS), WINNT)
ifeq (1,$(ISMSYS_MINGW64))
LLVM_CPPFLAGS += -D__CRT__NO_INLINE
else
LLVM_CPPFLAGS += -D__USING_SJLJ_EXCEPTIONS__ -D__CRT__NO_INLINE
endif
endif # OS == WINNT
ifneq ($(HOSTCC),$(CC))
LLVM_CMAKE += -DCROSS_TOOLCHAIN_FLAGS_NATIVE="-DCMAKE_C_COMPILER=$$(which $(HOSTCC));-DCMAKE_CXX_COMPILER=$$(which $(HOSTCXX))"
Expand Down

0 comments on commit 2fbd58a

Please sign in to comment.