[MacPorts] #64118: go @1.17.4: enhancement proposition
MacPorts
noreply at macports.org
Fri Dec 3 08:33:05 UTC 2021
#64118: go @1.17.4: enhancement proposition
-------------------------+--------------------
Reporter: macdeport | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: | Port: go
-------------------------+--------------------
{{{
---> Some of the ports you installed have notes:
go has the following notes:
go had to be specially patched and built to work on your platform.
It likely won't work out of the box when building other projects, so
make sure change your environment to use the following variables:
* GO_EXTLINK_ENABLED="1"
to always force go to use the external gcc or clang linker and
* GO_LDFLAGS="\"-extldflags=${configure.ldflags}\""
* CGO_LDFLAGS="-g -O2 ${configure.ldflags}"
to force-link any binary against the legacy support library. Use
exactly the quoting provided here, even if it may look odd, or compilation
will fail.
Failure to do so will leave you unable to create binaries that use
features not natively available on your system, either directly or through
a go core
dependency.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64118>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list