mirror of
https://github.com/Cian-H/qmk_firmware.git
synced 2025-12-22 22:21:58 +00:00
This reverts commit de3c42125b.
This commit is contained in:
@@ -12,7 +12,9 @@ HEX = $(OBJCOPY) -O $(FORMAT) -R .eeprom -R .fuse -R .lock -R .signature
|
||||
EEP = $(OBJCOPY) -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 --no-change-warnings -O $(FORMAT)
|
||||
BIN =
|
||||
|
||||
COMPILEFLAGS += $(call cc-option, --param=min-pagesize=0)
|
||||
ifeq ("$(shell echo "int main(){}" | $(CC) --param=min-pagesize=0 -x c - -o /dev/null 2>&1)", "")
|
||||
COMPILEFLAGS += --param=min-pagesize=0
|
||||
endif
|
||||
|
||||
COMPILEFLAGS += -funsigned-char
|
||||
COMPILEFLAGS += -funsigned-bitfields
|
||||
|
||||
@@ -476,9 +476,6 @@ 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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user