[SERVER-8842] SCons build should pass -mmacosx-version-min=<something> when building on OS X Created: 04/Mar/13  Updated: 11/Jul/16  Resolved: 16/Mar/13

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 2.5.0

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: c++11
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-8676 Enable support for building against l... Closed
Related
related to SERVER-8969 Windows minimum version should be spe... Closed
Participants:

 Description   

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.



 Comments   
Comment by auto [ 16/Mar/13 ]

Author:

{u'date': u'2013-03-04T23:28:53Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-8842 Apply OS X minimum version flag to build
Branch: master
https://github.com/mongodb/mongo/commit/e01d425eef0d274840e8c1b0637ef7dd685fce4d

Generated at Thu Feb 08 03:18:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.