gcc: avoid stripping go binaries as that causes problems
This is the same as done by other distributions. Stripping the binaries causes them to behave strange, and this is backed up by the gcc documentation.
This commit is contained in:
@@ -8,7 +8,7 @@ _isl_version=0.21
|
||||
|
||||
pkgname=gcc
|
||||
version=${_minorver}.0
|
||||
revision=4
|
||||
revision=5
|
||||
short_desc="GNU Compiler Collection"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
homepage="http://gcc.gnu.org"
|
||||
@@ -421,6 +421,7 @@ gcc-go_package() {
|
||||
lib32disabled=yes
|
||||
depends="gcc>=${_minorver} libgo-devel>=${_minorver}"
|
||||
short_desc+=" - Go compiler frontend"
|
||||
nostrip_files="buildid cgo test2json vet"
|
||||
pkg_install() {
|
||||
for f in gccgo ${_triplet}-gccgo; do
|
||||
vmove usr/bin/${f}
|
||||
@@ -440,6 +441,7 @@ gcc-go-tools_package() {
|
||||
depends="gcc-go>=${_minorver}"
|
||||
short_desc+=" - Go tools"
|
||||
conflicts="go>=0"
|
||||
nostrip=yes
|
||||
pkg_install() {
|
||||
vmove usr/bin/go
|
||||
vmove usr/bin/gofmt
|
||||
@@ -536,6 +538,7 @@ libgfortran_package() {
|
||||
libgo-devel_package() {
|
||||
depends="libgo>=${_minorver}"
|
||||
short_desc+=" - Go library - development files"
|
||||
nostrip=yes
|
||||
pkg_install() {
|
||||
vmove usr/lib/libgo.a
|
||||
vmove usr/lib/libgobegin.a
|
||||
@@ -546,6 +549,7 @@ libgo-devel_package() {
|
||||
|
||||
libgo_package() {
|
||||
short_desc+=" - Go library"
|
||||
nostrip=yes
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libgo.so*"
|
||||
vlicense ${wrksrc}/COPYING.RUNTIME RUNTIME.LIBRARY.EXCEPTION
|
||||
|
||||
Reference in New Issue
Block a user