[patch] Pass -fuse-ld=gold to gccgo on targets supporting -fsplit-stack
Ian Lance Taylor
Sat Jan 18 02:03:00 GMT 2014
On Fri, Nov 29, 2013 at 5:29 AM, Matthias Klose <email@example.com> wrote:
> to get full advantage of the -fsplit-stack option, gccgo binaries have to be
> linked with gold, not the bfd linker. When the system linker defaults to the
> bfd linker, then gccgo should explicitly use the gold linker, passing
> fuse-ld=gold, unless another -fuse-ld option is present. Tested with and
> without having ld.gold on the system.
The change to libgo/configure.ac seems unrelated.
I don't think you can use "which" in a configure script. You need to
use something like AC_PATH_PROG.
More information about the Gcc-patches