mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-23 00:47:02 +06:00
[Keyboard] Update Lets Split Sockets to use LTO_ENABLE (#7516)
This commit is contained in:
parent
f099142004
commit
dfe18b40aa
|
@ -78,14 +78,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
//#define NO_ACTION_LAYER
|
//#define NO_ACTION_LAYER
|
||||||
//#define NO_ACTION_TAPPING
|
//#define NO_ACTION_TAPPING
|
||||||
//#define NO_ACTION_ONESHOT
|
//#define NO_ACTION_ONESHOT
|
||||||
//#define NO_ACTION_MACRO
|
|
||||||
//#define NO_ACTION_FUNCTION
|
|
||||||
|
|
||||||
#ifdef USE_Link_Time_Optimization
|
|
||||||
// LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
|
|
||||||
// so just disable them
|
|
||||||
#define NO_ACTION_MACRO
|
|
||||||
#define NO_ACTION_FUNCTION
|
|
||||||
|
|
||||||
#define DISABLE_LEADER
|
|
||||||
#endif // USE_Link_Time_Optimization
|
|
||||||
|
|
|
@ -2,4 +2,4 @@ BACKLIGHT_ENABLE = no
|
||||||
AUDIO_ENABLE = yes
|
AUDIO_ENABLE = yes
|
||||||
RGBLIGHT_ENABLE = yes #Don't enable this along with I2C
|
RGBLIGHT_ENABLE = yes #Don't enable this along with I2C
|
||||||
|
|
||||||
EXTRAFLAGS += -flto -DUSE_Link_Time_Optimization
|
LTO_ENABLE = yes
|
||||||
|
|
Loading…
Reference in New Issue
Block a user