Enable -fkeep-cafs for both static and dynamic builds.
We use a attribute((constructor)) function, but now we make sure the constructor is not discarded for static builds.
Addresses #22417 (closed)
We use a attribute((constructor)) function, but now we make sure the constructor is not discarded for static builds.
Addresses #22417 (closed)