]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
[Keyboard] Update Lets Split Sockets to use LTO_ENABLE (#7516)
authorDrashna Jaelre <drashna@live.com>
Sun, 1 Dec 2019 14:35:30 +0000 (06:35 -0800)
committerJoel Challis <git@zvecr.com>
Sun, 1 Dec 2019 14:35:29 +0000 (14:35 +0000)
keyboards/lets_split/sockets/config.h
keyboards/lets_split/sockets/rules.mk

index e8459494be068fc7f871d738ecdc84fee55950ef..eb8092a8f4ea09a1f63cb2cffe4d2de228e707ce 100644 (file)
@@ -78,14 +78,3 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 //#define NO_ACTION_LAYER
 //#define NO_ACTION_TAPPING
 //#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
index da04decf40316f8b55d5236d8c3694a7f4f6b729..7ca5886150ae8d5303f1e184dbd047f4c9f40e24 100644 (file)
@@ -2,4 +2,4 @@ BACKLIGHT_ENABLE = no
 AUDIO_ENABLE = yes
 RGBLIGHT_ENABLE = yes #Don't enable this along with I2C
 
-EXTRAFLAGS += -flto -DUSE_Link_Time_Optimization
+LTO_ENABLE = yes