Putting release flags in expression generator.
This commit is contained in:
		
					parent
					
						
							
								b2f4f31abd
							
						
					
				
			
			
				commit
				
					
						58ad00e47a
					
				
			
		
					 1 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -74,15 +74,14 @@ set(COMPILE_FLAGS
 | 
			
		|||
    -Wpedantic
 | 
			
		||||
    #	-Wpadded
 | 
			
		||||
    -pedantic
 | 
			
		||||
    -ffunction-sections
 | 
			
		||||
    -fdata-sections
 | 
			
		||||
    $<$<CONFIG:Release>:-ffunction-sections -fdata-sections>
 | 
			
		||||
    -fuse-ld=gold
 | 
			
		||||
    -funroll-loops
 | 
			
		||||
    -fdevirtualize-at-ltrans
 | 
			
		||||
    -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
 | 
			
		||||
)
 | 
			
		||||
set(LINKER_OPTIONS
 | 
			
		||||
    -Wl,--sort-common,--as-needed,--gc-sections,--strip-all
 | 
			
		||||
    -Wl,--sort-common,--as-needed$<$<CONFIG:Release>:,--gc-sections,--strip-all>
 | 
			
		||||
    -fuse-ld=gold
 | 
			
		||||
    -fdevirtualize-at-ltrans
 | 
			
		||||
)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue