Better handle LTO_ENABLE (#9832)
* Better handle LTO_ENABLE Especially when calling from command line * Replace LINK_TIME_OPTIMIZATION_ENABLE with LTO_ENABLE * Remove long for LTO from show_options.mk
This commit is contained in:
		
							parent
							
								
									3f392c09b6
								
							
						
					
					
						commit
						92385b3fb6
					
				
					 79 changed files with 85 additions and 99 deletions
				
			
		| 
						 | 
				
			
			@ -5,7 +5,7 @@ MCU = STM32F072
 | 
			
		|||
#   comment out to disable the options.
 | 
			
		||||
#
 | 
			
		||||
# EXTRAFLAGS+=-flto
 | 
			
		||||
LINK_TIME_OPTIMIZATION_ENABLE = yes
 | 
			
		||||
LTO_ENABLE = yes
 | 
			
		||||
BACKLIGHT_ENABLE = no
 | 
			
		||||
BOOTMAGIC_ENABLE = lite  # Virtual DIP switch configuration
 | 
			
		||||
## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,7 +5,7 @@ MCU = STM32F072
 | 
			
		|||
#   comment out to disable the options.
 | 
			
		||||
#
 | 
			
		||||
# EXTRAFLAGS+=-flto
 | 
			
		||||
LINK_TIME_OPTIMIZATION_ENABLE = yes
 | 
			
		||||
LTO_ENABLE = yes
 | 
			
		||||
BACKLIGHT_ENABLE = no
 | 
			
		||||
BOOTMAGIC_ENABLE = lite  # Virtual DIP switch configuration
 | 
			
		||||
## (Note that for BOOTMAGIC on Teensy LC you have to use a custom .ld script.)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue