forked from mirrors/qmk_userspace
chibios: disable RWX segment warning on newer GNU lds (#22007)
This commit is contained in:
parent
970e0b18a2
commit
de3c42125b
3 changed files with 12 additions and 6 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue