aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/xd96/rules.mk
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-08-14 20:07:26 +0100
committerDrashna Jaelre <drashna@live.com>2019-08-14 12:07:26 -0700
commit41482e02a6ac06bd9d0fa31c42d372c9d73c5d2b (patch)
treea2f83906992e0c504119896c86a20c43d7000302 /keyboards/xd96/rules.mk
parent547fbe769c684745195a53baf9f62730ceea804d (diff)
downloadfirmware-41482e02a6ac06bd9d0fa31c42d372c9d73c5d2b.tar.gz
firmware-41482e02a6ac06bd9d0fa31c42d372c9d73c5d2b.tar.bz2
firmware-41482e02a6ac06bd9d0fa31c42d372c9d73c5d2b.zip
[Keyboard] Align xd84 and xd96 with moon (#6465)
* Refactor xd84 to use LINK_TIME_OPTIMIZATION_ENABLE * Refactor xd96 to use LINK_TIME_OPTIMIZATION_ENABLE * Align xd84 and xd96 with moon * Update keyboards/xd96/rules.mk Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/xd84/rules.mk Co-Authored-By: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/xd96/rules.mk')
-rw-r--r--keyboards/xd96/rules.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/xd96/rules.mk b/keyboards/xd96/rules.mk
index c9f804471..91736bd87 100644
--- a/keyboards/xd96/rules.mk
+++ b/keyboards/xd96/rules.mk
@@ -78,9 +78,9 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
AUDIO_ENABLE = no # Audio output on port C6
FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)
+LINK_TIME_OPTIMIZATION_ENABLE = yes
# custom matrix setup
CUSTOM_MATRIX = yes
-SRC = i2c_master.c custom_matrix_helper.c pca9555.c matrix.c
-
-EXTRAFLAGS += -flto
+SRC += custom_matrix_helper.c pca9555.c matrix.c
+QUANTUM_LIB_SRC += i2c_master.c