[arch-commits] Commit in sugar-toolkit-gtk3/trunk (PKGBUILD)

Balló György bgyorgy at archlinux.org
Tue Oct 17 11:15:19 UTC 2017


    Date: Tuesday, October 17, 2017 @ 11:15:18
  Author: bgyorgy
Revision: 263146

upgpkg: sugar-toolkit-gtk3 0.112-2

Disable hardened build until fixed upstream

Modified:
  sugar-toolkit-gtk3/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-10-17 10:09:16 UTC (rev 263145)
+++ PKGBUILD	2017-10-17 11:15:18 UTC (rev 263146)
@@ -3,7 +3,7 @@
 
 pkgname=sugar-toolkit-gtk3
 pkgver=0.112
-pkgrel=1
+pkgrel=2
 pkgdesc="Sugar GTK library"
 arch=('i686' 'x86_64')
 url="https://sugarlabs.org/"
@@ -17,6 +17,11 @@
 
 build() {
   cd $pkgname-$pkgver
+  # Disable hardened build until fixed upstream
+  # https://bugs.sugarlabs.org/ticket/4886
+  export CFLAGS=${CFLAGS/ -fno-plt}
+  export LDFLAGS=${LDFLAGS/,-z,now}
+
   ./configure --prefix=/usr
   sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make



More information about the arch-commits mailing list