• Joel Sing's avatar
    cmd/go: fix cgo linking on netbsd · 2281c329
    Joel Sing authored
    NetBSD's built-in linker script for 'ld -r' does not provide a
    SEARCH_DIR. As a result libgcc.a is not found when -lgcc is used.
    
    Work around this by determining the path to libgcc (by invoking
    gcc with the -print-libgcc-file-name option) and explicitly
    referencing the resulting library.
    
    R=golang-dev, iant, aram, lucio.dere, minux.ma
    CC=golang-dev
    https://golang.org/cl/6470044
    2281c329
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...