commit 7a7e4bf

chld  ·  2026-08-22 07:34:13 +0000 UTC
parent 4c2f1ea
forcing static tests
2 files changed,  +6, -5
+2, -1
1@@ -1,2 +1,3 @@
2 .libunistring
3-.bdw-gc
4+.bdw-gc
5+/libffi
+4, -4
 1@@ -4,7 +4,8 @@ VERSION=3.0.11
 2 RELEASE=1
 3 SOURCE="https://ftp.gnu.org/pub/gnu/guile/guile-3.0.11.tar.xz"
 4 build(){
 5-	CFLAGS='-static' LDFLAGS='-static' ./configure \
 6+    static_cc=$HOME/bin/cc
 7+	CC=$static_cc CFLAGS='-static' GCC_CFLAGS='-static' LDFLAGS='-static' ./configure \
 8 		--prefix=/ \
 9 		--bindir=/bin \
10 		--sbindir=/bin \
11@@ -19,10 +20,9 @@ build(){
12 		--disable-libtool-loc \
13 		--enable-jit=no \
14 		--disable-nls \
15-		--enable-mini-gmp \
16-		--without-libiconv || die "configure failed"
17+		--enable-mini-gmp || die "configure failed"
18 
19-	gmake PREFIX="$PREFIX" DESTDIR="$PKG" CFLAGS='-static' LDFLAGS='-static' -j"$NPROC" || die "build failed" 
20+	gmake CC=$static_cc PREFIX="$PREFIX" DESTDIR="$PKG" CFLAGS='-static' GCC_CFLAGS='-static' LDFLAGS='-static' -j"$NPROC" || die "build failed" 
21 	gmake DESTDIR="$PKG" install || die "gmake install failed"
22 
23 }