Skip to content

Commit

Permalink
Fix QCC debug build flag (boostorg#364)
Browse files Browse the repository at this point in the history
As per the patch put forward in boostorg#453
  • Loading branch information
johnmcfarlane authored and grafikrobot committed Mar 11, 2024
1 parent 290e06e commit 9ff4ee4
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 9ff4ee4

Please sign in to comment.