diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,8 +1,8 @@ # Maintainer: Brian Bidulock <bidulock@openss7.org> pkgname=xde-session-git -pkgver=1.10.r7.gc0fd053 -pkgrel=2 +pkgver=1.11.r1.g53b77a1 +pkgrel=1 pkgdesc="X Desktop Environment Display and Session Management" groups=('xde-git') arch=('i686' 'x86_64') @@ -31,6 +31,8 @@ build() { cd $pkgname # gtk2 is using deprecated glib2 declarations ./configure CFLAGS="-Wno-deprecated-declarations $CFLAGS" + # Fight unused direct deps + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool make CFLAGS="-Wno-deprecated-declarations $CFLAGS" } |