From 5c357e948d7f6ca8f4bff844da7a5f08567d386c Mon Sep 17 00:00:00 2001 From: Tim Besard Date: Sun, 28 Nov 2021 09:17:38 +0100 Subject: [PATCH] Keep ABI breaking checks for assert builds. (#43238) --- deps/llvm.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/deps/llvm.mk b/deps/llvm.mk index b79a7c8d357ca..ff30446df9fe6 100644 --- a/deps/llvm.mk +++ b/deps/llvm.mk @@ -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)