1
0
Fork 0

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
This commit is contained in:
Konstantin Đorđević 2020-04-20 00:56:48 +02:00 committed by GitHub
parent 33bf4863f5
commit 2d39a9dcdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 116 additions and 197 deletions

View file

@ -24,11 +24,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define USE_I2C
#define USE_SERIAL
#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
#define NO_ACTION_MACRO
#define NO_ACTION_FUNCTION