mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
make.bash: drop GNU/kFreeBSD handling
The GNU/kFreeBSD project has been canceled. https://wiki.debian.org/Debian_GNU/kFreeBSD For #3533 Change-Id: I30990fced48e1ba43e1e59806379eb97bac3ab6c Reviewed-on: https://go-review.googlesource.com/c/go/+/596937 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
1c4acea03d
commit
d25a90676d
@ -128,13 +128,6 @@ do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Test for debian/kFreeBSD.
|
|
||||||
# cmd/dist will detect kFreeBSD as freebsd/$GOARCH, but we need to
|
|
||||||
# disable cgo manually.
|
|
||||||
if [[ "$(uname -s)" == "GNU/kFreeBSD" ]]; then
|
|
||||||
export CGO_ENABLED=0
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Clean old generated file that will cause problems in the build.
|
# Clean old generated file that will cause problems in the build.
|
||||||
rm -f ./runtime/runtime_defs.go
|
rm -f ./runtime/runtime_defs.go
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user