Skip to content

Commit

Permalink
Keep ABI breaking checks for assert builds. (#43238)
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored Nov 28, 2021
1 parent fc08ec3 commit 5c357e9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions deps/llvm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,6 @@ ifeq ($(fPIC),)
LLVM_CMAKE += -DLLVM_ENABLE_PIC=OFF
endif

# disable ABI breaking checks: by default only enabled for asserts build, in which case
# it is then impossible to call non-asserts LLVM libraries (like out-of-tree backends)
LLVM_CMAKE += -DLLVM_ABI_BREAKING_CHECKS=FORCE_OFF

LLVM_CMAKE += -DCMAKE_C_FLAGS="$(LLVM_CPPFLAGS) $(LLVM_CFLAGS)" \
-DCMAKE_CXX_FLAGS="$(LLVM_CPPFLAGS) $(LLVM_CXXFLAGS)"
ifeq ($(OS),Darwin)
Expand Down

0 comments on commit 5c357e9

Please sign in to comment.