mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
tcc: build-style is configure
This commit is contained in:
parent
e6635da5cc
commit
789fcdc637
1 changed files with 3 additions and 7 deletions
|
@ -6,7 +6,8 @@ version=${_distver}.${_voidver}
|
||||||
revision=1
|
revision=1
|
||||||
_gitrev=a4997bf3d952f904bce824ee3e8f3e12e8524071
|
_gitrev=a4997bf3d952f904bce824ee3e8f3e12e8524071
|
||||||
wrksrc=tinycc-${_gitrev:0:7}
|
wrksrc=tinycc-${_gitrev:0:7}
|
||||||
build_style=gnu-configure
|
build_style=configure
|
||||||
|
configure_args="--prefix=/usr --libdir=\${prefix}/lib$XBPS_TARGET_WORDSIZE"
|
||||||
make_check_target="test"
|
make_check_target="test"
|
||||||
hostmakedepends="perl"
|
hostmakedepends="perl"
|
||||||
short_desc="Tiny C Compiler"
|
short_desc="Tiny C Compiler"
|
||||||
|
@ -20,14 +21,9 @@ nocross=yes
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
ppc*) broken="ftbfs";;
|
ppc*) broken="ftbfs";;
|
||||||
*-musl) configure_args="--config-musl";;
|
*-musl) configure_args+=" --config-musl";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
# Replace lib64 with lib
|
|
||||||
sed -i configure -e "s;lib64;lib;g"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
# Can't use (many of) our CFLAGS or LDFLAGS
|
# Can't use (many of) our CFLAGS or LDFLAGS
|
||||||
# because TCC is bootstrapped with the same flags
|
# because TCC is bootstrapped with the same flags
|
||||||
|
|
Loading…
Add table
Reference in a new issue