Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Nov 11, 2024
1 parent bf2e13d commit d6110a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ else ifneq '' '$(findstring g++,$(COMPILER_VERSION))'
COMPILER_NAME := GCC
CXXFLAGS += -flto=auto
# std::stacktrace is available in GCC 14 and later
# but it is not enabled by default because it slowed down the GitHub CI by > 2x
ifeq ($(shell expr $(COMPILER_VERSION_NUMBER_MAJOR) \>= 14),1)
ifeq ($(STACKTRACE),ON)
CXXFLAGS += -DSTACKTRACE_ON=true -rdynamic
Expand Down

0 comments on commit d6110a8

Please sign in to comment.