You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Guard the new -fPIC/-fPIE blocks with NOT MSVC too: clang-cl reports
CMAKE_CXX_COMPILER_ID "Clang" but uses the MSVC-style driver, which
doesn't accept these GNU-style flags.
- Drop -fPIE from target_link_options(bootgen ...); it's a compile-only
flag, and passing it at link time can break toolchains where linking
doesn't go through the compiler driver. Only -pie belongs there.
Re-verified locally under the same forced -fno-pie -fno-PIC -no-pie
global configuration as before: bootgen still links as a true PIE
(ET_DYN) binary and runs correctly.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments