mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-01 06:46:44 -04: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
+1
-1
@@ -16,7 +16,7 @@ if test -z "$GOARCH" -o -z "$GOOS"; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CC=${CC:-gcc}
|
CC=${CC:-cc}
|
||||||
|
|
||||||
if [[ "$GOOS" -eq "solaris" ]]; then
|
if [[ "$GOOS" -eq "solaris" ]]; then
|
||||||
# Assumes GNU versions of utilities in PATH.
|
# Assumes GNU versions of utilities in PATH.
|
||||||
|
|||||||
Reference in New Issue
Block a user