We can leave those controlling warnings and dynamic symbol visibility; we must remove any that hard-code the optimization settings or otherwise ail to respect the distribution defaults.