commit bb0840a
chld
·
2026-09-06 01:44:25 +0000 UTC
parent 393eaa6
nettle: mini gmp
1 files changed,
+5,
-33
+5,
-33
1@@ -11,40 +11,12 @@ build(){
2 --libdir=/lib \
3 --includedir=/include \
4 --sysconfdir=/etc \
5- --without-pop \
6- --without-mailutils \
7- --without-x \
8- --without-pgtk \
9- --without-gnutls \
10- --without-dbus \
11- --without-xim \
12- --without-xaw3d \
13- --without-gpm \
14- --without-be-cairo \
15- --without-be-app \
16- --without-selinux \
17- --without-zlib \
18- --without-xinput2 \
19- --without-xpm \
20- --without-jpeg \
21- --without-tiff \
22- --without-gif \
23- --without-png \
24- --without-rsvg \
25- --without-webp \
26- --without-sqlite3 \
27- --without-lcms2 \
28- --without-libsystemd \
29- --disable-shared \
30- --without-kerberos \
31- --without-kerberos5 \
32- --without-sound \
33- --without-x-toolkit \
34- --without-w32 \
35- --disable-largefile \
36 --enable-static \
37- --without-gnutls || die "configure failed"
38-
39+ --disable-shared \
40+ --enable-mini-gmp \
41+ --disable-largefile || die "configure failed"
42+
43+ sed -i 's/gcc/gcc -static/g' config.make
44 gmake CFLAGS='-static' LDFLAGS='-static' PREFIX="$PREFIX" DESTDIR="$PKG" || die "make failed"
45 gmake CFLAGS='-static' LDFLAGS='-static' PREFIX="$PREFIX" DESTDIR="$PKG" install || die "install failed"
46 }