mirror of
https://github.com/qmk/qmk_firmware
synced 2024-12-22 16:36:58 +00:00
Fix up Arm builds with nix-shell. (#8312)
This commit is contained in:
parent
bad9468ce1
commit
b438c6f8ea
@ -45,6 +45,6 @@ stdenv.mkDerivation {
|
||||
++ lib.optional arm [ gcc-arm-embedded ]
|
||||
++ lib.optional teensy [ teensy-loader-cli ];
|
||||
|
||||
CFLAGS = lib.optional avr avr_incflags;
|
||||
ASFLAGS = lib.optional avr avr_incflags;
|
||||
AVR_CFLAGS = lib.optional avr avr_incflags;
|
||||
AVR_ASFLAGS = lib.optional avr avr_incflags;
|
||||
}
|
||||
|
@ -21,7 +21,9 @@ COMPILEFLAGS += -fdata-sections
|
||||
COMPILEFLAGS += -fpack-struct
|
||||
COMPILEFLAGS += -fshort-enums
|
||||
|
||||
CFLAGS += $(COMPILEFLAGS)
|
||||
ASFLAGS += $(AVR_ASFLAGS)
|
||||
|
||||
CFLAGS += $(COMPILEFLAGS) $(AVR_CFLAGS)
|
||||
CFLAGS += -fno-inline-small-functions
|
||||
CFLAGS += -fno-strict-aliasing
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user