SPECS: irqbalance.spec - include pie patch, pass LDFLAGS
qboosh
qboosh at pld-linux.org
Sat Aug 19 21:34:50 CEST 2006
Author: qboosh Date: Sat Aug 19 19:34:50 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- include pie patch, pass LDFLAGS
---- Files affected:
SPECS:
irqbalance.spec (1.17 -> 1.18)
---- Diffs:
================================================================
Index: SPECS/irqbalance.spec
diff -u SPECS/irqbalance.spec:1.17 SPECS/irqbalance.spec:1.18
--- SPECS/irqbalance.spec:1.17 Fri Aug 11 12:23:59 2006
+++ SPECS/irqbalance.spec Sat Aug 19 21:34:41 2006
@@ -15,6 +15,8 @@
Patch1: %{name}-classes.patch
Patch2: %{name}-norebalance-zeroints.patch
Patch3: %{name}-pie.patch
+# due to -fpie
+BuildRequires: gcc >= 5:3.4
BuildRequires: rpmbuild(macros) >= 1.268
Requires(post,preun): /sbin/chkconfig
Requires: rc-scripts
@@ -33,13 +35,13 @@
%patch0 -p1
%patch1 -p2
%patch2 -p2
-# For gcc4 ?
-#%patch3 -p2
+%patch3 -p2
%build
-%{__make} %{?debug:debug} \
+%{__make} \
CC="%{__cc}" \
- CFLAGS="%{rpmcflags}"
+ CFLAGS="%{rpmcflags}%{?debug: debug.c -DDEBUG}" \
+ LDFLAGS="%{rpmldflags}"
%install
rm -rf $RPM_BUILD_ROOT
@@ -75,6 +77,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.18 2006/08/19 19:34:41 qboosh
+- include pie patch, pass LDFLAGS
+
Revision 1.17 2006/08/11 10:23:59 blues
- license changed (acc. Changelog), let the source be on some URL.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/irqbalance.spec?r1=1.17&r2=1.18&f=u
More information about the pld-cvs-commit
mailing list