diff options
| author | Konstantin Đorđević <vomindoraan@gmail.com> | 2020-04-20 00:56:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-19 23:56:48 +0100 |
| commit | 2d39a9dcdbdef1202d890a81505e7d33fe04cde0 (patch) | |
| tree | 2fe4d5635a26cc21053afb13bb6dd99c362c5c33 /keyboards/zinc | |
| parent | 33bf4863f58e908f4bff7e8d729341f0fe7c4558 (diff) | |
| download | qmk_firmware-2d39a9dcdbdef1202d890a81505e7d33fe04cde0.tar.gz qmk_firmware-2d39a9dcdbdef1202d890a81505e7d33fe04cde0.zip | |
Remove no-longer-necessary LTO checks from keyboards' config.h files (#8773)
* Remove no-longer-necessary LTO checks from keyboards' config.h files
* Remove unnecessary LTO check in @danielo515's Ergodox EZ keymap
* Remove unnecessary USE_Link_Time_Optimization checks from keyboards' config.h files
Note: DISABLE_LEADER doesn't seem to be used anywhere
Diffstat (limited to 'keyboards/zinc')
| -rw-r--r-- | keyboards/zinc/config.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/keyboards/zinc/config.h b/keyboards/zinc/config.h index 9c60d631b..712db0ac6 100644 --- a/keyboards/zinc/config.h +++ b/keyboards/zinc/config.h | |||
| @@ -40,11 +40,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 40 | // ./tmk_core | 40 | // ./tmk_core |
| 41 | // ...... | 41 | // ...... |
| 42 | 42 | ||
| 43 | #ifdef USE_Link_Time_Optimization | 43 | #define NO_ACTION_MACRO |
| 44 | // LTO has issues with macros (action_get_macro) and "functions" (fn_actions), | 44 | #define NO_ACTION_FUNCTION |
| 45 | // so just disable them | ||
| 46 | #define NO_ACTION_MACRO | ||
| 47 | #define NO_ACTION_FUNCTION | ||
| 48 | #endif // USE_Link_Time_Optimization | ||
| 49 | 45 | ||
| 50 | //#endif /* CONFIG_H */ | 46 | //#endif /* CONFIG_H */ |
