Skip to content

Commit 6f57942

Browse files
committed
Revert "Compile CaDiCaL with -DNDEBUG"
This reverts commit bc8a56a.
1 parent bc8a56a commit 6f57942

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/cadical_CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ add_library(cadical ${sources})
99

1010
# Pass -DNBUILD to disable including the version information, which is not
1111
# needed since cbmc doesn't run the cadical binary
12-
target_compile_options(cadical PUBLIC -DNBUILD -DNFLEXIBLE -DNDEBUG)
12+
target_compile_options(cadical PUBLIC -DNBUILD -DNFLEXIBLE)
1313

1414
set_target_properties(
1515
cadical

src/solvers/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ solvers$(LIBEXT): $(OBJ) $(SOLVER_LIB)
281281
$(LINKLIB)
282282

283283
../../cadical/build/libcadical$(LIBEXT):
284-
$(MAKE) $(MAKEARGS) -C $(CADICAL)/build libcadical.a CXX="$(CXX)" CXXFLAGS="$(CP_CXXFLAGS) -DNFLEXIBLE -DNDEBUG"
284+
$(MAKE) $(MAKEARGS) -C $(CADICAL)/build libcadical.a CXX="$(CXX)" CXXFLAGS="$(CP_CXXFLAGS) -DNFLEXIBLE"
285285

286286
-include smt2/smt2_solver$(DEPEXT)
287287

0 commit comments

Comments
 (0)