From a91f11b52732049876f985de62edca77be38cf4f Mon Sep 17 00:00:00 2001 From: Justin LaPolla Date: Wed, 7 Feb 2018 10:21:12 -0600 Subject: [PATCH] Only use '-G 0' if we also have '-O 0' --- src/tools/cray.jam | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tools/cray.jam b/src/tools/cray.jam index 0638967e9..890e2eaab 100644 --- a/src/tools/cray.jam +++ b/src/tools/cray.jam @@ -791,13 +791,13 @@ rule set-debug-symbols-procedure ( targets * : sources * : properties * ) { local optimization = [ feature.get-values : $(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 = " " ;