Skip to content

Commit c43e415

Browse files
committed
Define FLY_PROFILE for profiled builds
1 parent a562f7b commit c43e415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/nix/flags.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ else ifeq ($(mode), release)
137137
JFLAGS += -g:none
138138
else ifeq ($(mode), profile)
139139
ifeq ($(toolchain), gcc)
140-
CF_ALL += -O2 -g -pg
140+
CF_ALL += -O2 -DNDEBUG -g -pg -DFLY_PROFILE
141141
LDFLAGS += -pg
142142
else
143143
$(error Profiling not supported with toolchain $(toolchain), check flags.mk)

0 commit comments

Comments
 (0)