[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: |
|
||||||||||||||||
| 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: |