commit a9a20d2

chld  ·  2026-09-10 02:18:16 +0000 UTC
parent bcf3c4e
glib: some cflags because old glib version
1 files changed,  +2, -2
+2, -2
 1@@ -5,9 +5,9 @@ RELEASE=1
 2 SOURCE="https://download.gnome.org/sources/${NAME}/${VERSION}/${NAME}-${VERSION}.0.tar.xz"
 3 
 4 build(){
 5-    CFLAGS='-static' 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
 6+    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
 7     # fat glib
 8-    gmake CFLAGS='-static -Oz' LDFLAGS='-static -Wl,-Oz'
 9+    gmake CFLAGS='-static -Oz -Wno-error=int-conversion' LDFLAGS='-static -Wl,-Oz' V=1
10     gmake CFLAGS='-static -Oz' LDFLAGS='-static -Wl,-Oz' DESTDIR="$PKG" install
11 }
12