use PIC/PIE because babl is likely to deal with data coming from untrusted

sources build with -fno-strict-aliasing
This commit is contained in:
Nils Philippsen 2010-06-24 09:14:02 +00:00
parent d06ca402f3
commit a9c25ab095
2 changed files with 13 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Summary: A dynamic, any to any, pixel format conversion library
Name: babl
Version: 0.1.2
Release: 2%{?dist}
Release: 4%{?dist}
# The gggl codes contained in this package are under the GPL, with exceptions allowing their use under libraries covered under the LGPL
License: LGPLv3+ and GPLv3+
Group: System Environment/Libraries
@ -47,6 +47,10 @@ This package contains documentation needed for developing with %{name}.
%setup -q
%build
# use PIC/PIE because babl is likely to deal with data coming from untrusted
# sources
CFLAGS="-fPIC %optflags -fno-strict-aliasing"
LDFLAGS="-pie"
%configure --disable-static
make V=1 %{?_smp_mflags}
@ -88,6 +92,13 @@ rm -rf %{buildroot}
%doc %{develdocdir}
%changelog
* Wed Jun 23 2010 Nils Philippsen <nils@redhat.com> - 0.1.2-4
- use PIC/PIE because babl is likely to deal with data coming from untrusted
sources
* Wed Jun 23 2010 Nils Philippsen <nils@redhat.com> - 0.1.2-3
- build with -fno-strict-aliasing
* Mon Jun 14 2010 Nils Philippsen <nils@redhat.com> - 0.1.2-2
- split off devel-docs subpackage to make package multi-lib compliant (#477807)
- let devel package require correct arch of base package

1
import.log Normal file
View File

@ -0,0 +1 @@
babl-0_1_2-4_fc14:F-13:babl-0.1.2-4.fc14.src.rpm:1277370770