tcc: change to use http://repo.or.cz/tinycc.git
The x86_64 builds ok, while there are probably critical warnings for the i686 build. Needs testing by someone who knows how to.
This commit is contained in:
parent
1c40ecd3c1
commit
1c88cc683e
1 changed files with 19 additions and 6 deletions
|
@ -1,14 +1,27 @@
|
||||||
# Template file for 'tcc'
|
# Template file for 'tcc'
|
||||||
only_for_archs="i686 x86_64"
|
|
||||||
|
|
||||||
pkgname=tcc
|
pkgname=tcc
|
||||||
version=0.9.26
|
version=0.9.26.20160111
|
||||||
revision=2
|
revision=1
|
||||||
|
_gitrev=f75f89fc8f2116c4cfe35022c19ed854e6a23b84
|
||||||
|
wrksrc=tinycc-${_gitrev:0:7}
|
||||||
|
nopie=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
only_for_archs="i686 x86_64"
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
short_desc="The Tiny C Compiler"
|
short_desc="The Tiny C Compiler"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://bellard.org/tcc/"
|
homepage="http://bellard.org/tcc/"
|
||||||
license="LGPL-2.1"
|
license="LGPL-2.1"
|
||||||
distfiles="${NONGNU_SITE}/tinycc/tcc-$version.tar.bz2"
|
distfiles="http://repo.or.cz/tinycc.git/snapshot/${_gitrev}.tar.gz>${pkgname}-${version}.tar.gz"
|
||||||
checksum=521e701ae436c302545c3f973a9c9b7e2694769c71d9be10f70a2460705b6d71
|
checksum=c3b4b8c65d32870c2c31e779a8d7a28653e04d3365b461372bcb6b4f7710b4b1
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
# Replace lib64 with lib
|
||||||
|
sed -i configure -e "s;lib64;lib;g"
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
# Can't use (many of) our CFLAGS or LDFLAGS
|
||||||
|
# because TCC is bootstrapped with the same flags
|
||||||
|
make CFLAGS= LDFLAGS= ${makejobs}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue