1
0
Fork 0

Better handle LTO_ENABLE (#9832)

* Better handle LTO_ENABLE

Especially when calling from command line

* Replace LINK_TIME_OPTIMIZATION_ENABLE with LTO_ENABLE

* Remove long for LTO from show_options.mk
This commit is contained in:
Drashna Jael're 2020-08-22 01:21:06 -07:00 committed by James Young
parent 3f392c09b6
commit 92385b3fb6
79 changed files with 85 additions and 99 deletions

View file

@ -1,7 +1,7 @@
SRC += kuchosauronad0.c \
process_records.c
LINK_TIME_OPTIMIZATION_ENABLE = yes
LTO_ENABLE = yes
SPACE_CADET_ENABLE = no
ifneq ($(strip $(RGBLIGHT_ENABLE)),yes )
@ -24,7 +24,7 @@ ifeq ($(strip $(LEADER_ENABLE)), yes)
SRC += leader.c
endif
ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
ifneq ("$(wildcard $(USER_PATH)/secrets.c)","")
SRC += secrets.c
endif
ifeq ($(strip $(NO_SECRETS)), yes)