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:
		
							parent
							
								
									33bf4863f5
								
							
						
					
					
						commit
						2d39a9dcdb
					
				
					 45 changed files with 116 additions and 197 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue