Much like setting _WIN32_WINNT to a given value, setting -mmacosx-version-min on the compile and link lines when building on OS X controls which parts of the SDK are visible.
Our embedded V8 does use this flag, but we really should be passing it ourselves at the top level mongo build. This is needed, for instance, to enable libc++ which requires a minimum of OS X 10.7.
The flag should be added to both CCFLAGS and LDFLAGS.
- is depended on by
-
SERVER-8676 Enable support for building against libc++ on OS X when building for C++11
- Closed
- related to
-
SERVER-8969 Windows minimum version should be specified on the build command line, not in targetver.h
- Closed