• Hiroshi Ioka's avatar
    cmd/go: fix TestCgoContainsSpace · 482da518
    Hiroshi Ioka authored
    TestCgoContainsSpace builds a small program which mimics $CC.
    Usually, $CC attempts to compile a trivial code to detect its own
    supported flags (i.e. "-no-pie", which must be passed on some systems),
    however the mimic didn't consider these cases.
    
    This CL solve the issue.
    
    Also, use the same name as $CC, it may solve other potential problems.
    
    Fixes #20324
    
    Change-Id: I7a00ac016a5fd0667540f2a715371f8152edc395
    Reviewed-on: https://go-review.googlesource.com/43330Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
    Run-TryBot: Ian Lance Taylor <iant@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    482da518
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...