mirror of
https://github.com/boostorg/build.git
synced 2026-02-13 00:12:11 +00:00
Only use '-G 0' if we also have '-O 0'
This commit is contained in:
@@ -791,13 +791,13 @@ rule set-debug-symbols-procedure ( targets * : sources * : properties * )
|
||||
{
|
||||
local optimization = [ feature.get-values <optimization> : $(properties) ] ;
|
||||
local debug-option = ;
|
||||
if $(optimization) = speed
|
||||
if $(optimization) = off
|
||||
{
|
||||
debug-option = 3 ;
|
||||
debug-option = 0 ;
|
||||
}
|
||||
else
|
||||
{
|
||||
debug-option = 0 ;
|
||||
debug-option = 3 ;
|
||||
}
|
||||
|
||||
local space = " " ;
|
||||
|
||||
Reference in New Issue
Block a user