Skip to content

Commit

Permalink
Enable -DENABLE_STACKTRACE=true
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Nov 11, 2024
1 parent 7e4facc commit 330e798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ else ifneq '' '$(findstring g++,$(COMPILER_VERSION))'
# std::stacktrace is available in GCC 14 and later
ifeq ($(shell expr $(COMPILER_VERSION_NUMBER_MAJOR) \>= 14),1)
CXXFLAGS += -rdynamic
# CXXFLAGS += -DENABLE_STACKTRACE=true
CXXFLAGS += -DENABLE_STACKTRACE=true
LDFLAGS += -lstdc++exp
endif
else ifneq '' '$(findstring nvc++,$(COMPILER_VERSION))'
Expand Down

0 comments on commit 330e798

Please sign in to comment.