From 79dfdaf74d464216b215cb53e31273e4267ab478 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Wed, 9 Feb 2005 02:15:56 +0000 Subject: [PATCH] pie, fortify --- irqbalance.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/irqbalance.spec b/irqbalance.spec index 40930f2..c9824f1 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -2,7 +2,7 @@ Summary: IRQ balancing daemon. Name: irqbalance Version: 1.12 Release: %(R="$Revision$"; RR="${R##: }"; echo ${RR%%?}) -Serial: 1 +Epoch: 1 Group: System Environment/Base License: GPL/OSL Source0: irqbalance-0.12.tar.gz @@ -31,7 +31,7 @@ mkdir -p %{buildroot}/etc/rc.d/init.d mkdir -p %{buildroot}/etc/sysconfig cd irqbalance -make +make CFLAGS="$RPM_OPT_FLAGS -fpie -pie -D_FORTIFY_SOURCE=2" %install mkdir -p %{buildroot}/usr/share/man/man{1,8} @@ -68,6 +68,9 @@ exit 0 %changelog +* Tue Feb 8 2005 Dave Jones +- Build as pie, also -D_FORTIFY_SOURCE=2 + * Tue Jan 11 2005 Dave Jones - Add missing Obsoletes: kernel-utils.