common/environment/build-style: remove nostrip from go.sh

Hasn't been necessary in Go for a long time [1], so we should take
advantage of that. For an example of the advantages, the 'micro' editor
went from 15MB to 11MB on disk.

[1] https://honnef.co/posts/2016/10/go-and-strip/
This commit is contained in:
Érico Nogueira 2021-11-14 04:31:57 -03:00 committed by Érico Nogueira Rolim
parent 3e451c3fb7
commit 224d7a37a6

View File

@ -16,7 +16,6 @@ else
export GCCGO="${XBPS_CROSS_TRIPLET}-gccgo" export GCCGO="${XBPS_CROSS_TRIPLET}-gccgo"
fi fi
fi fi
nostrip=yes
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
aarch64*) export GOARCH=arm64;; aarch64*) export GOARCH=arm64;;