Skip to content

Commit

Permalink
Use link=static for JSON, Serialization under UBSan
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Aug 21, 2024
1 parent f8f7af2 commit f39d321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ explicit describe_cxx14 ;

local CXX14 = [ check-target-builds describe_cxx14 describe_cxx14 : : <build>no ] "<toolset>msvc-14.0:<cxxflags>-wd4100" ;

local JSON = <library>/boost/json//boost_json/<warnings>off "<toolset>msvc-14.2:<cxxflags>-wd5104" ;
local SERIALIZATION = <library>/boost/serialization//boost_serialization/<warnings>off -$(WERROR) ;
local JSON = <library>/boost/json//boost_json/<warnings>off "<toolset>msvc-14.2:<cxxflags>-wd5104" <undefined-sanitizer>norecover:<link>static ;
local SERIALIZATION = <library>/boost/serialization//boost_serialization/<warnings>off -$(WERROR) <undefined-sanitizer>norecover:<link>static ;

run ../example/printing_enums_ct.cpp : : : $(CXX14) ;
run ../example/printing_enums_rt.cpp : : : $(CXX14) ;
Expand Down

0 comments on commit f39d321

Please sign in to comment.