mirror of
https://github.com/golang/go
synced 2024-11-19 15:05:00 -07:00
gc: enable building under clang/2.9
To build under clang, pass the path to clang in CC when calling ./make.bash CC=/opt/llvm/llvm-2.9/bin/clang ./make.bash Credit goes to jmhodges for suggestions. R=jeff, r, ality CC=golang-dev https://golang.org/cl/4527098
This commit is contained in:
parent
94b974a22d
commit
60a4b5e4db
@ -105,7 +105,7 @@ hcrash(void)
|
||||
flusherrors();
|
||||
if(outfile)
|
||||
unlink(outfile);
|
||||
*(int*)0 = 0;
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user