This unconditionalFor base/gcc, only enables use ofe .init_array and .fini_array whenfor 12.0 and later
using external GCC as the system compilerto match the policy used by clang and llvm. We could perhaps onlyFor the xtoolchain ports,
enable this by default for 12.0 and later to match the pending changeese unconditionally since the only OS version handy is the OS
for clangversion of the build host, bunot that version check can only really be enabled in base/gcce target OS to be built. Unlike llvm,
as the xtoolchain-gcc packages are not tied to a specific FreeBSDuse of .init_array and .fini_array is set at compile-time for GCC
version (and to the extent they specifiy a version today, it is the
version of the build host, not the target)and can't be changed at runtime.
As far as I can tell, the configure option isBump PORTREVISION for base/gcc and the only knob, and therextoolchain GCC ports.
is no way to control the behavior via a command-line flag.