We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac10278 commit 9957918Copy full SHA for 9957918
src/cmd/cgo/gcc.go
@@ -1614,6 +1614,8 @@ func (p *Package) gccCmd() []string {
1614
c = append(c, "-maix64")
1615
c = append(c, "-mcmodel=large")
1616
}
1617
+ // disable LTO so we get a real object
1618
+ c = append(c, "-fno-lto")
1619
c = append(c, "-") //read input from standard input
1620
return c
1621
0 commit comments