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

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.5.0
    • Build

    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

              andrew.morrow@mongodb.com Andrew Morrow
              andrew.morrow@mongodb.com Andrew Morrow
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: