From 0c4fa0b92a6a4ac0dece3b2b94874cc6de862bc3 Mon Sep 17 00:00:00 2001 From: Ivan Sokolov Date: Mon, 6 May 2019 04:09:29 +0300 Subject: [PATCH] New package: cross-arm-none-eabi-gcc-8.3.0 --- srcpkgs/cross-arm-none-eabi-gcc/template | 68 ++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 srcpkgs/cross-arm-none-eabi-gcc/template diff --git a/srcpkgs/cross-arm-none-eabi-gcc/template b/srcpkgs/cross-arm-none-eabi-gcc/template new file mode 100644 index 0000000000..7c26e9fdd6 --- /dev/null +++ b/srcpkgs/cross-arm-none-eabi-gcc/template @@ -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 " +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} +}