Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2168

Add CGO flags for building on MacOS

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.1.7, 3.6.11, 3.4.20, 4.0.7
    • Affects Version/s: None
    • Component/s: None

      In the server evergreen.yml files, we historically had CGO_CPPFLAGS=-I/opt/mongodbtoolchain/v2/include CGO_CFLAGS=-mmacosx-version-min=10.11 CGO_LDFLAGS=-mmacosx-version-min=10.11'.

      The include path should be unnecessary now that the go-openssl wrapper supports pkg-config, plus we no longer use OpenSSL. However, the minimum version flags might still be relevant to add to Go environment configuration.

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: