Skip to content

Commit

Permalink
mrbind: Disable asserts in release builds. (#3979)
Browse files Browse the repository at this point in the history
  • Loading branch information
adalisk-emikhaylov authored Jan 16, 2025
1 parent bc2a74e commit f1bf925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mrbind/generate.mk
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ EXTRA_LDLAGS :=
# Flag presets.
MODE := release
ifeq ($(MODE),release)
override EXTRA_CFLAGS += -Oz -flto=thin
override EXTRA_CFLAGS += -Oz -flto=thin -DNDEBUG
override EXTRA_LDFLAGS += -Oz -flto=thin $(if $(IS_MACOS),,-s)# No `-s` on macos. It seems to have no effect, and the linker warns about it.
else ifeq ($(MODE),debug)
override EXTRA_CFLAGS += -g
Expand Down

0 comments on commit f1bf925

Please sign in to comment.