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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: Build
    • Labels:

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              acm Andrew Morrow
              Reporter:
              acm Andrew Morrow
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: