avr-gcc: update to 6.2.1
This commit is contained in:
parent
8130bab922
commit
eec18ec014
1 changed files with 10 additions and 7 deletions
|
@ -1,25 +1,26 @@
|
|||
# Template build file for 'avr-gcc'
|
||||
pkgname=avr-gcc
|
||||
version=5.3.0
|
||||
revision=2
|
||||
version=6.2.1
|
||||
revision=1
|
||||
short_desc="The GNU C Compiler for AVR"
|
||||
maintainer="allan <mail@may.mooo.com>"
|
||||
homepage="http://gcc.gnu.org"
|
||||
license="GFDL-1.2, GPL-3, LGPL-2.1"
|
||||
distfiles="$GNU_SITE/gcc/gcc-$version/gcc-$version.tar.bz2"
|
||||
checksum=b84f5592e9218b73dbae612b5253035a7b34a9a1f7688d2e1bfaaf7267d5c4db
|
||||
distfiles="https://repo.voidlinux.eu/distfiles/gcc-$version.tar.xz"
|
||||
checksum=a7addd2d4e42e66c3b56ced8baee5a11ef7fb577e23615a4f43877273eaf9409
|
||||
wrksrc="gcc-$version"
|
||||
|
||||
hostmakedepends="avr-binutils"
|
||||
hostmakedepends="flex avr-binutils"
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# Need a direct cross-compiler for libgcc.
|
||||
hostmakedepends+=" avr-gcc"
|
||||
fi
|
||||
makedepends="zlib-devel libmpc-devel cloog-devel gmp-devel mpfr-devel"
|
||||
makedepends="zlib-devel libmpc-devel isl15-devel"
|
||||
depends="avr-binutils"
|
||||
nostrip=yes
|
||||
|
||||
do_configure() {
|
||||
[ -d obj-avr ] && rm -rf obj-avr
|
||||
mkdir obj-avr
|
||||
cd obj-avr
|
||||
|
||||
|
@ -28,6 +29,7 @@ do_configure() {
|
|||
CONFIG_SHELL=/bin/bash \
|
||||
LDFLAGS= \
|
||||
../configure \
|
||||
--prefix=/usr \
|
||||
--disable-install-libiberty \
|
||||
--disable-libssp \
|
||||
--disable-libstdcxx-pch \
|
||||
|
@ -46,15 +48,16 @@ do_configure() {
|
|||
--enable-lto \
|
||||
--enable-plugin \
|
||||
--enable-shared \
|
||||
--prefix=/usr \
|
||||
--build=$XBPS_TRIPLET \
|
||||
--host=$XBPS_CROSS_TRIPLET \
|
||||
--target=avr \
|
||||
--with-isl \
|
||||
--with-gnu-as \
|
||||
--with-gnu-ld \
|
||||
--with-as=/usr/bin/avr-as \
|
||||
--with-ld=/usr/bin/avr-ld \
|
||||
--with-plugin-ld=ld.gold \
|
||||
--with-default-libstdcxx-abi=gcc4-compatible \
|
||||
--with-system-zlib
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue