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
 | 
					    -Wpedantic
 | 
				
			||||||
    #	-Wpadded
 | 
					    #	-Wpadded
 | 
				
			||||||
    -pedantic
 | 
					    -pedantic
 | 
				
			||||||
    -ffunction-sections
 | 
					    $<$<CONFIG:Release>:-ffunction-sections -fdata-sections>
 | 
				
			||||||
    -fdata-sections
 | 
					 | 
				
			||||||
    -fuse-ld=gold
 | 
					    -fuse-ld=gold
 | 
				
			||||||
    -funroll-loops
 | 
					    -funroll-loops
 | 
				
			||||||
    -fdevirtualize-at-ltrans
 | 
					    -fdevirtualize-at-ltrans
 | 
				
			||||||
    -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
 | 
					    -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
set(LINKER_OPTIONS
 | 
					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
 | 
					    -fuse-ld=gold
 | 
				
			||||||
    -fdevirtualize-at-ltrans
 | 
					    -fdevirtualize-at-ltrans
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue