commit 174d29c
chld
·
2026-09-10 02:20:05 +0000 UTC
parent a9a20d2
glib: static libtool
1 files changed,
+1,
-1
+1,
-1
1@@ -7,7 +7,7 @@ SOURCE="https://download.gnome.org/sources/${NAME}/${VERSION}/${NAME}-${VERSION}
2 build(){
3 CFLAGS='-static -Wno-error=int-conversion' LDFLAGS='-static' ./configure --enable-static --disable-shared --disable-man --without-gnu-ld --disable-gtk-doc --disable-libmount --disable-dtrace --disable-complile-warnings --disable-fam --disable-selinux --disable-largefile --disable-always-build-tests --with-pcre=internal
4 # fat glib
5- gmake CFLAGS='-static -Oz -Wno-error=int-conversion' LDFLAGS='-static -Wl,-Oz' V=1
6+ gmake CFLAGS='-static -Oz -Wno-error=int-conversion' LDFLAGS='-static -all-static -Wl,-O2 -Wl,-s -Wl,--as-needed' V=1
7 gmake CFLAGS='-static -Oz' LDFLAGS='-static -Wl,-Oz' DESTDIR="$PKG" install
8 }
9