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 27ec6d9 commit b6b82f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ ifneq '' '$(findstring clang,$(COMPILER_VERSION))'
else ifneq '' '$(findstring g++,$(COMPILER_VERSION))'
COMPILER_NAME := GCC
CXXFLAGS += -flto=auto
# for std::stacktrace
LDFLAGS += -lstdc++exp
else ifneq '' '$(findstring nvc++,$(COMPILER_VERSION))'
COMPILER_NAME := NVHPC
else
Expand Down Expand Up @@ -192,8 +194,8 @@ ifneq ($(MAX_NODE_SIZE),)
endif

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

CXXFLAGS += -D_GLIBCXX_ASSERTIONS
# CXXFLAGS += -D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_BACKTRACE=1
Expand Down

0 comments on commit b6b82f3

Please sign in to comment.