Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-8842

SCons build should pass -mmacosx-version-min=<something> when building on OS X

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.0
    • Affects Version/s: None
    • Component/s: Build
    • Labels:

      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.

            Assignee:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: