Browse Source

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>
Steven Hartland 11 năm trước cách đây
mục cha
commit
72bfb9c4e8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      unix/mkerrors.sh

+ 1 - 1
unix/mkerrors.sh

@@ -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.