complete log
```
[1/2] cd /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/src/9cebf09b93-b5220e362f.clean/build && /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build/b2 toolset=clang --user-config=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/user-config.jam --stagedir=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/stage --build-dir=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg runtime-link=shared link=static address-model=64 architecture=x86 target-os=darwin threadapi=pthread variant=debug --layout=system -sICU_PATH="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr" abi=sysv binary-format=mach-o --with-atomic --with-random --with-date_time --with-filesystem --with-system --with-thread --with-chrono -j10 -sBOOST_ROOT=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build -sBOOST_BUILD_PATH=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build --debug-configuration --debug-building --debug-generators --ignore-site-config --hash -q debug-symbols=on -d +2 threading=multi stage
FAILED: CMakeFiles/boost /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/CMakeFiles/boost
cd /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/src/9cebf09b93-b5220e362f.clean/build && /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build/b2 toolset=clang --user-config=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/user-config.jam --stagedir=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/stage --build-dir=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg runtime-link=shared link=static address-model=64 architecture=x86 target-os=darwin threadapi=pthread variant=debug --layout=system -sICU_PATH="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr" abi=sysv binary-format=mach-o --with-atomic --with-random --with-date_time --with-filesystem --with-system --with-thread --with-chrono -j10 -sBOOST_ROOT=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build -sBOOST_BUILD_PATH=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build --debug-configuration --debug-building --debug-generators --ignore-site-config --hash -q debug-symbols=on -d +2 threading=multi stage
notice: found boost-build.jam at /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build/boost-build.jam
notice: loading B2 from /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build/src/kernel/bootstrap.jam
notice: Site configuration files will be ignored due to the
notice: --ignore-site-config command-line option.
notice: Loading explicitly specified user configuration file:
/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/user-config.jam
notice: Searching '/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg' for user-config configuration file 'user-config.jam'.
notice: Loading user-config configuration file 'user-config.jam' from '/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg'.
notice: will use '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++' for clang-darwin, condition clang-13
Building target '../build/stage'
Build request: object(property-set)@573 sysv 64 x86 mach-o on static shared darwin pthread multi clang debug
Command line free features:
Target requirements: BOOST_ALL_NO_LIB=1 BOOST_CONTEXT_SOURCE false ../include&&/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/x64-osx/include shared:BOOST_CONTEXT_DYN_LINK=1 /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/stage/lib asmflags:address-model asmflags:toolset cxxflags:segmented-stacks cxxflags:target-os cxxflags:toolset define:address-model define:link define:target-os define:toolset linkflags:segmented-stacks linkflags:toolset @Jamfile%Jamfile.tag linux,gcc,on:-DBOOST_USE_SEGMENTED_STACKS linux,gcc,on:-fsplit-stack windows:_WIN32_WINNT=0x0601 multi borland,shared:BOOST_CONTEXT_EXPORT=EXPORT borland,static:BOOST_CONTEXT_EXPORT= clang,on:-DBOOST_USE_SEGMENTED_STACKS clang,on:-fsplit-stack clang,on:-static-libgcc clang-win,shared:BOOST_CONTEXT_EXPORT=EXPORT clang-win,static:BOOST_CONTEXT_EXPORT= embarcadero,32,shared:BOOST_CONTEXT_EXPORT=EXPORT embarcadero,32,static:BOOST_CONTEXT_EXPORT= gcc,on:-static-libgcc intel,shared:BOOST_CONTEXT_EXPORT=EXPORT intel,static:BOOST_CONTEXT_EXPORT= msvc,32:/safeseh msvc,shared:BOOST_CONTEXT_EXPORT=EXPORT msvc,static:BOOST_CONTEXT_EXPORT= @Jamfile%Jamfile.stage-translate-path
Common properties: sysv 64 x86 off mach-o fcontext off on BOOST_ALL_NO_LIB=1 BOOST_CONTEXT_SOURCE on off false darwin ../include&&/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/x64-osx/include off off static /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/stage/lib off MACOSX on off asmflags:address-model asmflags:toolset cxxflags:segmented-stacks cxxflags:target-os cxxflags:toolset define:address-model define:link define:target-os define:toolset linkflags:segmented-stacks linkflags:toolset auto on on shared native off false project-relative @Jamfile%Jamfile.tag darwin pthread multi darwin 13 clang @Jamfile%Jamfile.stage-translate-path console debug off off on
Building target '../build/boost_context'
Build request: object(property-set)@580 sysv 64 x86 off mach-o fcontext off on on off off static off MACOSX on off on on shared native off darwin pthread multi darwin 13 clang debug off off on
Command line free features:
Target requirements: BOOST_ALL_NO_LIB=1 BOOST_CONTEXT_SOURCE ../include&&/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/x64-osx/include shared:BOOST_CONTEXT_DYN_LINK=1 asmflags:address-model asmflags:toolset cxxflags:segmented-stacks cxxflags:target-os cxxflags:toolset define:address-model define:link define:target-os define:toolset linkflags:segmented-stacks linkflags:toolset @Jamfile%Jamfile.tag linux,gcc,on:-DBOOST_USE_SEGMENTED_STACKS linux,gcc,on:-fsplit-stack windows:_WIN32_WINNT=0x0601 multi borland,shared:BOOST_CONTEXT_EXPORT=EXPORT borland,static:BOOST_CONTEXT_EXPORT= clang,on:-DBOOST_USE_SEGMENTED_STACKS clang,on:-fsplit-stack clang,on:-static-libgcc clang-win,shared:BOOST_CONTEXT_EXPORT=EXPORT clang-win,static:BOOST_CONTEXT_EXPORT= embarcadero,32,shared:BOOST_CONTEXT_EXPORT=EXPORT embarcadero,32,static:BOOST_CONTEXT_EXPORT= gcc,on:-static-libgcc intel,shared:BOOST_CONTEXT_EXPORT=EXPORT intel,
Environment and version details
b2 -v
:B2 Version 4.7. OS=MACOSX.
Brief problem description
It passes the flags to the compiler when building c++ files, but not when building assembly files. See https://github.com/microsoft/vcpkg/issues/22999
For c++ file:
For assembly file:
Steps to reproduce the issue
Get M1 mac and install boost-context for x64-osx.
complete log
``` [1/2] cd /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/src/9cebf09b93-b5220e362f.clean/build && /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build/b2 toolset=clang --user-config=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/user-config.jam --stagedir=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/stage --build-dir=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg runtime-link=shared link=static address-model=64 architecture=x86 target-os=darwin threadapi=pthread variant=debug --layout=system -sICU_PATH="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr" abi=sysv binary-format=mach-o --with-atomic --with-random --with-date_time --with-filesystem --with-system --with-thread --with-chrono -j10 -sBOOST_ROOT=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build -sBOOST_BUILD_PATH=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build --debug-configuration --debug-building --debug-generators --ignore-site-config --hash -q debug-symbols=on -d +2 threading=multi stage FAILED: CMakeFiles/boost /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/CMakeFiles/boost cd /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/src/9cebf09b93-b5220e362f.clean/build && /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build/b2 toolset=clang --user-config=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/user-config.jam --stagedir=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/stage --build-dir=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg runtime-link=shared link=static address-model=64 architecture=x86 target-os=darwin threadapi=pthread variant=debug --layout=system -sICU_PATH="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr" abi=sysv binary-format=mach-o --with-atomic --with-random --with-date_time --with-filesystem --with-system --with-thread --with-chrono -j10 -sBOOST_ROOT=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build -sBOOST_BUILD_PATH=/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build --debug-configuration --debug-building --debug-generators --ignore-site-config --hash -q debug-symbols=on -d +2 threading=multi stage notice: found boost-build.jam at /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build/boost-build.jam notice: loading B2 from /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg_installed/arm64-osx/tools/boost-build/src/kernel/bootstrap.jam notice: Site configuration files will be ignored due to the notice: --ignore-site-config command-line option. notice: Loading explicitly specified user configuration file: /Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg/user-config.jam notice: Searching '/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg' for user-config configuration file 'user-config.jam'. notice: Loading user-config configuration file 'user-config.jam' from '/Users/leanderSchulten/git_projekte/Lichtsteuerung/vcpkg/buildtrees/boost-context/x64-osx-dbg'. notice: will use '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++' for clang-darwin, condition