https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65294
--- Comment #1 from Peter Åstrand <astrand at cendio dot se> --- Created attachment 34933 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34933&action=edit Activate parts of darwin_default_min_version() even when not cross The attached patch activates darwin_default_min_version() even when CROSS_DIRECTORY_STRUCTURE, and if MACOSX_DEPLOYMENT_TARGET is set, it falls back to a hardcoded 10.6 default. This solves our particular problem, but some additional work would be required to make e generic solution. For example, perhaps the fallback should be based on expanding %(darwin_minversion), or perhaps the default target kan be fetched from the SDK file tree?