mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-09 10:13:29 +00:00
Fix up Arm builds with nix-shell. (#8312)
This commit is contained in:
parent
bad9468ce1
commit
b438c6f8ea
2 changed files with 5 additions and 3 deletions
|
@ -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…
Reference in a new issue