Add CGO flags for building on MacOS

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
              Reporter:
              David Golden
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: