Skip to content

Commit

Permalink
Fix QCC debug build flag
Browse files Browse the repository at this point in the history
As per the patch put forward in boostorg/build#453
  • Loading branch information
johnmcfarlane authored Mar 8, 2024
1 parent 58da9d0 commit adc9321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/qcc.jam
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ local rule check-target-platform
}

# Declare flags for compilation.
toolset.flags qcc.compile OPTIONS <debug-symbols>on : -gstabs+ ;
toolset.flags qcc.compile OPTIONS <debug-symbols>on : -g ;

# Declare flags and action for compilation.
toolset.flags qcc.compile OPTIONS <optimization>off : -O0 ;
Expand Down Expand Up @@ -215,7 +215,7 @@ generators.register [ new qcc-linking-generator qcc.link.dll : LIB OBJ

# Declare flags for linking.
# First, the common flags.
toolset.flags qcc.link OPTIONS <debug-symbols>on : -gstabs+ ;
toolset.flags qcc.link OPTIONS <debug-symbols>on : -g ;
toolset.flags qcc.link OPTIONS <profiling>on : -p ;
toolset.flags qcc.link OPTIONS <linkflags> ;
toolset.flags qcc.link LINKPATH <library-path> ;
Expand Down

0 comments on commit adc9321

Please sign in to comment.