mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
unix: default CC in mkerrors.sh to cc not gcc
Clang is much more common now so use the OS cc instead of forcing gcc by default. Change-Id: I1dd34c7ba56c91794ee57042dd8ac024fdd649d8 Reviewed-on: https://go-review.googlesource.com/15010 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
committed by
Rob Pike
parent
584c5fee74
commit
72bfb9c4e8
@@ -16,7 +16,7 @@ if test -z "$GOARCH" -o -z "$GOOS"; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
CC=${CC:-gcc}
|
||||
CC=${CC:-cc}
|
||||
|
||||
if [[ "$GOOS" -eq "solaris" ]]; then
|
||||
# Assumes GNU versions of utilities in PATH.
|
||||
|
||||
Reference in New Issue
Block a user