use PIC/PIE because babl is likely to deal with data coming from untrusted
sources
This commit is contained in:
parent
faae76e6b6
commit
b699b012bb
11
babl.spec
11
babl.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A dynamic, any to any, pixel format conversion library
|
Summary: A dynamic, any to any, pixel format conversion library
|
||||||
Name: babl
|
Name: babl
|
||||||
Version: 0.1.2
|
Version: 0.1.2
|
||||||
Release: 3%{?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
|
# 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+
|
License: LGPLv3+ and GPLv3+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
@ -47,7 +47,10 @@ This package contains documentation needed for developing with %{name}.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%optflags -fno-strict-aliasing" \
|
# 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
|
%configure --disable-static
|
||||||
|
|
||||||
make V=1 %{?_smp_mflags}
|
make V=1 %{?_smp_mflags}
|
||||||
@ -89,6 +92,10 @@ rm -rf %{buildroot}
|
|||||||
%doc %{develdocdir}
|
%doc %{develdocdir}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jun 23 2010 Nils Philippsen <nils@redhat.com> - 0.1.2-3
|
||||||
- build with -fno-strict-aliasing
|
- build with -fno-strict-aliasing
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user