summaryrefslogtreecommitdiff
path: root/users/kuchosauronad0
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2020-08-22 01:21:06 -0700
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-08-29 14:30:02 -0700
commit92385b3fb617326b129609726020453c8949c7f8 (patch)
tree29d881897a59f0b1568bbaf21534c81360ad21e6 /users/kuchosauronad0
parent3f392c09b60d46d9e4a4d3cc150a26294dea4da7 (diff)
downloadqmk_firmware-92385b3fb617326b129609726020453c8949c7f8.tar.gz
qmk_firmware-92385b3fb617326b129609726020453c8949c7f8.zip
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
Diffstat (limited to 'users/kuchosauronad0')
-rw-r--r--users/kuchosauronad0/rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/users/kuchosauronad0/rules.mk b/users/kuchosauronad0/rules.mk
index b844d12c92..dfab85703c 100644
--- a/users/kuchosauronad0/rules.mk
+++ b/users/kuchosauronad0/rules.mk
@@ -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)