rpms/gegl/devel gegl.spec,1.30,1.31

Nils Philippsen nphilipp at fedoraproject.org
Wed Jun 23 16:27:41 UTC 2010


Author: nphilipp

Update of /cvs/pkgs/rpms/gegl/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv4354

Modified Files:
	gegl.spec 
Log Message:
build with -fno-strict-aliasing
use PIC/PIE because gegl is likely to deal with data coming from untrusted sources



Index: gegl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gegl/devel/gegl.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -p -r1.30 -r1.31
--- gegl.spec	26 Feb 2010 14:56:59 -0000	1.30
+++ gegl.spec	23 Jun 2010 16:27:41 -0000	1.31
@@ -3,7 +3,7 @@
 Summary:	A graph based image processing framework
 Name:		gegl
 Version:	0.1.2
-Release:	2%{?dist}
+Release:	3%{?dist}
 # The binary is under the GPL, while the libs are under LGPL
 License:	LGPLv3+ and GPLv3+
 Group:		System Environment/Libraries
@@ -65,6 +65,11 @@ chmod -x docs/devhelp.css operations/ext
 %patch1 -p1 -b .buffer-save-overflow
 
 %build
+# use PIC/PIE because gegl is likely to deal with data coming from untrusted
+# sources
+CFLAGS="-fPIC %optflags -fno-strict-aliasing"
+CXXFLAGS="-fPIC %optflags -fno-strict-aliasing"
+LDFLAGS="-pie"
 %configure				\
 	--with-cairo			\
 	--with-graphviz			\
@@ -142,6 +147,11 @@ rm -rf %{buildroot}
 %{_libdir}/pkgconfig/%{name}.pc
 
 %changelog
+* Wed Jun 23 2010 Nils Philippsen <nils at redhat.com> - 0.1.2-3
+- build with -fno-strict-aliasing
+- use PIC/PIE because gegl is likely to deal with data coming from untrusted
+  sources
+
 * Fri Feb 26 2010 Nils Philippsen <nils at redhat.com>
 - use tabs consistently
 - let devel depend on gtk-doc



More information about the scm-commits mailing list