• 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
..
ar.go Loading commit data...
data.go Loading commit data...
deadcode.go Loading commit data...
decodesym.go Loading commit data...
dwarf.go Loading commit data...
dwarf_defs.go Loading commit data...
elf.go Loading commit data...
go.go Loading commit data...
ld.go Loading commit data...
ldelf.go Loading commit data...
ldmacho.go Loading commit data...
ldpe.go Loading commit data...
lib.go Loading commit data...
link.go Loading commit data...
macho.go Loading commit data...
macho_combine_dwarf.go Loading commit data...
objfile.go Loading commit data...
pcln.go Loading commit data...
pe.go Loading commit data...
pobj.go Loading commit data...
sym.go Loading commit data...
symtab.go Loading commit data...
util.go Loading commit data...