Skip to content

Commit

Permalink
make: use nosys.specs
Browse files Browse the repository at this point in the history
this prevents inclusion of abort() calls on some error paths
  • Loading branch information
tridge committed Aug 23, 2024
1 parent c448411 commit 6a05f2e
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 @@ -44,7 +44,7 @@ FIRMWARE_VERSION := $(VERSION_MAJOR).$(VERSION_MINOR)
# Compiler options

CFLAGS_BASE := -DUSE_MAKE -fsingle-precision-constant -fomit-frame-pointer -ffast-math
CFLAGS_BASE += -I$(MAIN_INC_DIR) -g3 -O2 -Wall -ffunction-sections
CFLAGS_BASE += -I$(MAIN_INC_DIR) -g3 -O2 -Wall -ffunction-sections --specs=nosys.specs

CFLAGS_COMMON := $(CFLAGS_BASE)

Expand Down

0 comments on commit 6a05f2e

Please sign in to comment.