From 38d6420e9d90f1e2e4a5e265e58b3dc816526fe0 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Sun, 26 Jul 2015 02:10:12 +0200 Subject: [PATCH] haveged: disable pie/relro for i686. --- srcpkgs/haveged/template | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/srcpkgs/haveged/template b/srcpkgs/haveged/template index 22ff646da8..4f71ec085e 100644 --- a/srcpkgs/haveged/template +++ b/srcpkgs/haveged/template @@ -1,7 +1,7 @@ # Template file for 'haveged' pkgname=haveged version=1.9.1 -revision=4 +revision=5 build_style=gnu-configure short_desc="Entropy harvesting daemon using CPU timings" maintainer="Juan RP " @@ -11,7 +11,11 @@ homepage="http://www.issihosts.com/haveged" distfiles="https://pkgs.fedoraproject.org/repo/pkgs/haveged/haveged-${version}.tar.gz/015ff58cd10607db0e0de60aeca2f5f8/haveged-${version}.tar.gz" checksum=9c2363ed9542a6784ff08e247182137e71f2ddb79e8e6c1ac4ad50d21ced3715 configure_args="--sbindir=/usr/bin" -build_pie=yes + +case "$XBPS_TARGET_MACHINE" in + i686*) ;; + *) build_pie=yes ;; +esac post_install() { vsv $pkgname