cross-mipsel-linux-muslhf: enable fortran

+ Enable cross fortran compiler
+ Add isl15-devel to makedepends
This commit is contained in:
Jürgen Buchmüller 2017-03-07 18:07:17 +01:00
parent 5063a16993
commit 710e2431a6

View file

@ -11,8 +11,8 @@ _archflags="-march=mips32r2 -mhard-float"
_sysroot="/usr/${_triplet}" _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet} pkgname=cross-${_triplet}
version=0.22 version=0.23
revision=5 revision=1
short_desc="Cross toolchain for MIPS32r2 LE hardfloat target (musl)" short_desc="Cross toolchain for MIPS32r2 LE hardfloat target (musl)"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.voidlinux.eu" homepage="http://www.voidlinux.eu"
@ -35,8 +35,8 @@ nodebug=yes
create_wrksrc=yes create_wrksrc=yes
hostmakedepends="perl flex" hostmakedepends="perl flex"
makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel" makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel isl15-devel"
nostrip_files="libgcc.a libgcov.a libgcc_eh.a" nostrip_files="libcaf_single.a libgcc.a libgcov.a libgcc_eh.a"
depends="${pkgname}-libc-${version}_${revision}" depends="${pkgname}-libc-${version}_${revision}"
_apply_patch() { _apply_patch() {
@ -162,7 +162,7 @@ _gcc_build() {
_args+=" --libexecdir=/usr/lib" _args+=" --libexecdir=/usr/lib"
_args+=" --target=${_triplet}" _args+=" --target=${_triplet}"
_args+=" --with-sysroot=${_sysroot}" _args+=" --with-sysroot=${_sysroot}"
_args+=" --enable-languages=c,c++,lto" _args+=" --enable-languages=c,c++,fortran,lto"
_args+=" --enable-lto" _args+=" --enable-lto"
_args+=" --disable-libsanitizer" _args+=" --disable-libsanitizer"
_args+=" --disable-multilib" _args+=" --disable-multilib"