Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Nov 8, 2024
1 parent 2999166 commit 8729c25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ ifneq ($(MAX_NODE_SIZE),)
endif

ifeq ($(TESTMODE),ON)
CXXFLAGS += -DTESTMODE=true -D_LIBCPP_DEBUG=0
LDFLAGS += -rdynamic -Wl,-export_dynamic -lstdc++exp
CXXFLAGS += -DTESTMODE=true -D_LIBCPP_DEBUG=0 -rdynamic
LDFLAGS += -lstdc++exp

CXXFLAGS += -D_GLIBCXX_ASSERTIONS
# CXXFLAGS += -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_BACKTRACE=1
Expand All @@ -203,7 +203,7 @@ ifeq ($(TESTMODE),ON)
# CXXFLAGS += -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE
CXXFLAGS += -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG

# CXXFLAGS += -fsanitize=undefined,address
CXXFLAGS += -fsanitize=undefined,address

BUILD_DIR := $(BUILD_DIR)_testmode
else
Expand Down

0 comments on commit 8729c25

Please sign in to comment.