New package: cross-arm-none-eabi-gcc-8.3.0
This commit is contained in:
parent
d37db6efb2
commit
0c4fa0b92a
1 changed files with 68 additions and 0 deletions
68
srcpkgs/cross-arm-none-eabi-gcc/template
Normal file
68
srcpkgs/cross-arm-none-eabi-gcc/template
Normal file
|
@ -0,0 +1,68 @@
|
|||
# Template file for 'cross-${_triplet}-${_pkgname}'
|
||||
_triplet=arm-none-eabi
|
||||
_pkgname=gcc
|
||||
pkgname=cross-${_triplet}-${_pkgname}
|
||||
version=8.3.0
|
||||
revision=1
|
||||
wrksrc="${_pkgname}-${version}"
|
||||
build_style=gnu-configure
|
||||
configure_args="
|
||||
--disable-decimal-float
|
||||
--disable-libffi
|
||||
--disable-libgomp
|
||||
--disable-libmudflap
|
||||
--disable-libquadmath
|
||||
--disable-libssp
|
||||
--disable-libstdcxx-pch
|
||||
--disable-nls
|
||||
--disable-shared
|
||||
--disable-threads
|
||||
--disable-tls
|
||||
--disable-werror
|
||||
--enable-__cxa_atexit
|
||||
--enable-c99
|
||||
--enable-gnu-indirect-function
|
||||
--enable-interwork
|
||||
--enable-languages=c,c++
|
||||
--enable-long-long
|
||||
--enable-multilib
|
||||
--enable-plugins
|
||||
--host=${XBPS_CROSS_TRIPLET}
|
||||
--libdir=/usr/lib
|
||||
--libexecdir=/usr/lib
|
||||
--prefix=/usr
|
||||
--target=${_triplet}
|
||||
--with-gmp
|
||||
--with-gnu-as
|
||||
--with-gnu-ld
|
||||
--with-headers=/usr/${_triplet}/include
|
||||
--with-host-libstdcxx='-static-libgcc'
|
||||
--with-isl
|
||||
--with-libelf
|
||||
--with-mpc
|
||||
--with-mpfr
|
||||
--with-multilib-list=rmprofile
|
||||
--with-native-system-header-dir=/include
|
||||
--with-newlib
|
||||
--with-python-dir=share/${_pkgname}-${_triplet}
|
||||
--with-sysroot=/usr/${_triplet}
|
||||
--with-system-zlib
|
||||
"
|
||||
make_build_target="all-gcc"
|
||||
make_install_target="install-gcc"
|
||||
hostmakedepends="autoconf automake cross-arm-none-eabi-binutils bison flex perl"
|
||||
makedepends="gmp-devel isl15-devel libmpc-devel mpfr-devel zlib-devel"
|
||||
depends="cross-arm-none-eabi-binutils"
|
||||
short_desc="GNU Compiler Collection"
|
||||
maintainer="Ivan Sokolov <ivan-p-sokolov@ya.ru>"
|
||||
license="GFDL-1.2-or-later, GPL-3.0-or-later, LGPL-2.1-or-later"
|
||||
homepage="https://gcc.gnu.org"
|
||||
distfiles="${GNU_SITE}/${_pkgname}/${_pkgname}-${version}/${_pkgname}-${version}.tar.xz"
|
||||
checksum=64baadfe6cc0f4947a84cb12d7f0dfaf45bb58b7e92461639596c21e02d97d2c
|
||||
alternatives="arm-none-eabi:/usr/bin/arm-none-eabi-cc:/usr/bin/arm-none-eabi-gcc"
|
||||
nocross=yes
|
||||
nopie=yes
|
||||
|
||||
post_install() {
|
||||
rm -fr ${DESTDIR}/usr/share/{info,man/man7}
|
||||
}
|
Loading…
Reference in a new issue