• Michael Hudson-Doyle's avatar
    cmd/link: fix -no-pie / -race check · cb97fd77
    Michael Hudson-Doyle authored
    golang.org/cl/22453 was supposed to pass -no-pie to the linker when linking a
    race-enabled binary if the host toolchain supports it. But I bungled the
    supported check as I forgot to pass -c to the host compiler so it tried to
    compile a 0 byte .c file into an executable, which will never work. Fix it to
    pass -c as it should have all along.
    
    Change-Id: I4801345c7a29cb18d5f22cec5337ce535f92135d
    Reviewed-on: https://go-review.googlesource.com/22587
    Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarMinux Ma <minux@golang.org>
    cb97fd77
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...