summaryrefslogtreecommitdiff
path: root/keyboards/xd96/rules.mk
diff options
context:
space:
mode:
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 c9f8044712..91736bd878 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