Date: Tuesday, March 18, 2014 @ 14:36:09
  Author: bpiotrowski
Revision: 208165

upgpkg: x265 0.8-2

fix executable stack on x86_64

Modified:
  x265/trunk/PKGBUILD

----------+
 PKGBUILD |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-03-18 11:32:00 UTC (rev 208164)
+++ PKGBUILD    2014-03-18 13:36:09 UTC (rev 208165)
@@ -4,7 +4,7 @@
 
 pkgname=x265
 pkgver=0.8
-pkgrel=1
+pkgrel=2
 pkgdesc='Open Source H265/HEVC video encoder'
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -16,6 +16,7 @@
 
 build() {
   cd multicoreware-x265-*/build/linux
+  [[ $CARCH == x86_64 ]] && LDFLAGS+=',-z,noexecstack'
   cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr ../../source
   make
 }

Reply via email to