chibios: disable RWX segment warning on newer GNU lds (#22007)

This commit is contained in:
Thomas Weißschuh 2023-11-13 23:29:12 +01:00 committed by GitHub
commit de3c42125b
Failed to generate hash of commit
3 changed files with 12 additions and 6 deletions

View file

@ -476,6 +476,9 @@ HEX = $(OBJCOPY) -O $(FORMAT)
EEP =
BIN = $(OBJCOPY) -O binary
# disable warning about RWX triggered by ChibiOS linker scripts
SHARED_LDFLAGS += $(call cc-option, -Wl$(,)--no-warn-rwx-segments)
##############################################################################
# Make targets
#