From 789fcdc637c50919236d26c3b13628e1ffe525da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 23 Feb 2021 09:13:17 +0700 Subject: [PATCH] tcc: build-style is configure --- srcpkgs/tcc/template | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/srcpkgs/tcc/template b/srcpkgs/tcc/template index b27a0750ab7..5d2da178af7 100644 --- a/srcpkgs/tcc/template +++ b/srcpkgs/tcc/template @@ -6,7 +6,8 @@ version=${_distver}.${_voidver} revision=1 _gitrev=a4997bf3d952f904bce824ee3e8f3e12e8524071 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" hostmakedepends="perl" short_desc="Tiny C Compiler" @@ -20,14 +21,9 @@ nocross=yes case "$XBPS_TARGET_MACHINE" in ppc*) broken="ftbfs";; - *-musl) configure_args="--config-musl";; + *-musl) configure_args+=" --config-musl";; esac -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