aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2015-02-03 16:17:08 -0800
committerJosh Bleecher Snyder <josharian@gmail.com>2015-02-04 16:15:00 +0000
commit22f337656d8e4b244e45bc27c21ed3379be58e3d (patch)
tree65e0fa40ec66fa4141f4aaf10313620f34c68f76 /src/make.bash
parent3fa90ea96468d561a527a186b032490a04936879 (diff)
downloadgo-22f337656d8e4b244e45bc27c21ed3379be58e3d.tar.gz
go-22f337656d8e4b244e45bc27c21ed3379be58e3d.zip
cmd/go, make: remove ccflags
cc is no more. Change-Id: I8d1bc0d2e471cd9357274204c9bc1fa67cbc272d Reviewed-on: https://go-review.googlesource.com/3833 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/make.bash b/src/make.bash
index c8573c9954..bf83ee643f 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -25,9 +25,6 @@
# GO_LDFLAGS: Additional 5l/6l/8l arguments to use when
# building the commands.
#
-# GO_CCFLAGS: Additional 5c/6c/8c arguments to use when
-# building.
-#
# CGO_ENABLED: Controls cgo usage during the build. Set it to 1
# to include all cgo related files, .c and .go file with "cgo"
# build directive, in the build. Set it to 0 to ignore them.
@@ -158,12 +155,12 @@ if [ "$GOHOSTARCH" != "$GOARCH" -o "$GOHOSTOS" != "$GOOS" ]; then
# CC_FOR_TARGET is recorded as the default compiler for the go tool. When building for the host, however,
# use the host compiler, CC, from `cmd/dist/dist env` instead.
CC=$CC GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH \
- "$GOTOOLDIR"/go_bootstrap install -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std
+ "$GOTOOLDIR"/go_bootstrap install -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std
echo
fi
echo "##### Building packages and commands for $GOOS/$GOARCH."
-CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -ccflags "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std
+CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std
echo
rm -f "$GOTOOLDIR"/go_bootstrap