mirror of
https://github.com/golang/go
synced 2024-11-22 12:44:50 -07:00
godefs: avoid gcc 4'isms in command line.
Fixes #97. R=r https://golang.org/cl/155054
This commit is contained in:
parent
dee5ad5c24
commit
39f64bed52
@ -163,11 +163,11 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
n = 0;
|
n = 0;
|
||||||
av[n++] = "gcc";
|
av[n++] = "gcc";
|
||||||
av[n++] = "-c";
|
|
||||||
av[n++] = "-fdollars-in-identifiers";
|
av[n++] = "-fdollars-in-identifiers";
|
||||||
av[n++] = "-S"; // write assembly
|
av[n++] = "-S"; // write assembly
|
||||||
av[n++] = "-gstabs"; // include stabs info
|
av[n++] = "-gstabs"; // include stabs info
|
||||||
av[n++] = "-o-"; // to stdout
|
av[n++] = "-o"; // to ...
|
||||||
|
av[n++] = "-"; // ... stdout
|
||||||
av[n++] = "-xc"; // read C
|
av[n++] = "-xc"; // read C
|
||||||
|
|
||||||
ARGBEGIN{
|
ARGBEGIN{
|
||||||
|
Loading…
Reference in New Issue
Block a user