packages: zlib/zlib.spec - fortify when building

arekm arekm at pld-linux.org
Wed Feb 3 18:32:39 CET 2010


Author: arekm                        Date: Wed Feb  3 17:32:38 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fortify when building

---- Files affected:
packages/zlib:
   zlib.spec (1.118 -> 1.119) 

---- Diffs:

================================================================
Index: packages/zlib/zlib.spec
diff -u packages/zlib/zlib.spec:1.118 packages/zlib/zlib.spec:1.119
--- packages/zlib/zlib.spec:1.118	Wed Feb  3 18:18:00 2010
+++ packages/zlib/zlib.spec	Wed Feb  3 18:32:33 2010
@@ -3,6 +3,7 @@
 # Conditional build:
 %bcond_without	asmopt	# without assembler optimization for i586+
 %bcond_with	pax	# synonym for the above (asm doesn't have non-exec stack attributes)
+%bcond_without	tests
 #
 %ifnarch i586 i686 pentium3 pentium4 athlon
 %undefine	with_asmopt
@@ -296,7 +297,7 @@
 
 %build
 CC="%{__cc}" \
-CFLAGS="-D_REENTRANT %{rpmcflags} %{?with_asmopt:-DASMV}" \
+CFLAGS="-D_REENTRANT %{rpmcppflags} %{rpmcflags} %{?with_asmopt:-DASMV}" \
 ./configure \
 	--prefix=%{_prefix} \
 	--libdir=%{_libdir}
@@ -316,6 +317,8 @@
 # dependency race condition
 %{__make} -j1
 
+%{?with_tests:%{__make} check}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/%{_lib}
@@ -382,6 +385,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.119  2010/02/03 17:32:33  arekm
+- fortify when building
+
 Revision 1.118  2010/02/03 17:18:00  arekm
 - rel 3; gzflush segfault fix
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/zlib/zlib.spec?r1=1.118&r2=1.119&f=u



More information about the pld-cvs-commit mailing list