Fix #219 for real!
100% tested. Assuming that you don't need to test an obvious change, because it only changes one line is dangerous. I will learn from this, sorry for the inconvenience. `gcc-armhf` compiles fine again with that change, and it is able to cross-compile packages as it used to.
This commit is contained in:
parent
aafcac8b09
commit
53a76cd768
2 changed files with 2 additions and 4 deletions
|
@ -28,7 +28,7 @@ _gccrel=$pkgver-r$pkgrel
|
|||
depends="isl binutils-aarch64"
|
||||
makedepends_build="gcc g++ paxmark bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev"
|
||||
makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-dev-aarch64 binutils-aarch64"
|
||||
subpackages="g++-aarch64"
|
||||
subpackages="g++-aarch64:gpp"
|
||||
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-doc$_target"
|
||||
replaces="libstdc++ binutils"
|
||||
|
||||
|
@ -129,7 +129,6 @@ fi
|
|||
|
||||
_languages=c
|
||||
if $LANG_CXX; then
|
||||
subpackages="$subpackages g++$_target:gpp"
|
||||
_languages="$_languages,c++"
|
||||
fi
|
||||
if $LANG_OBJC; then
|
||||
|
|
|
@ -28,7 +28,7 @@ _gccrel=$pkgver-r$pkgrel
|
|||
depends="isl binutils-armhf"
|
||||
makedepends_build="gcc g++ paxmark bison flex texinfo gawk zip gmp-dev mpfr-dev mpc1-dev zlib-dev"
|
||||
makedepends_host="linux-headers gmp-dev mpfr-dev mpc1-dev isl-dev zlib-dev musl-dev-armhf binutils-armhf"
|
||||
subpackages="g++-armhf"
|
||||
subpackages="g++-armhf:gpp"
|
||||
[ "$CHOST" = "$CTARGET" ] && subpackages="gcc-doc$_target"
|
||||
replaces="libstdc++ binutils"
|
||||
|
||||
|
@ -129,7 +129,6 @@ fi
|
|||
|
||||
_languages=c
|
||||
if $LANG_CXX; then
|
||||
subpackages="$subpackages g++$_target:gpp"
|
||||
_languages="$_languages,c++"
|
||||
fi
|
||||
if $LANG_OBJC; then
|
||||
|
|
Loading…
Reference in a new issue