[squid/f12/master] F12 point fix removing -fPIE due to selinux complaints

Henrik Nordström hno at fedoraproject.org
Fri Sep 3 09:11:02 UTC 2010


commit 0dbcad208252dd522fdfd90cadb819a7201ab7e3
Author: Henrik Nordstrom <henrik at henriknordstrom.net>
Date:   Fri Sep 3 11:10:36 2010 +0200

    F12 point fix removing -fPIE due to selinux complaints

 squid.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/squid.spec b/squid.spec
index f9afbe2..7adf596 100644
--- a/squid.spec
+++ b/squid.spec
@@ -4,7 +4,7 @@
 
 Name:     squid
 Version:  3.1.7
-Release:  1%{?dist}
+Release:  1%{?dist}.1
 Summary:  The Squid proxy caching server
 Epoch:    7
 License:  GPLv2+
@@ -79,7 +79,7 @@ lookup program (dnsserver), a program for retrieving FTP data
 %patch208 -p1 -b .from_manpg
 
 %build
-export CXXFLAGS="-fPIE %{optflags}" ; export CFLAGS="-fPIE -Os -g -pipe -fsigned-char %{optflags}" ; export LDFLAGS="-pie" ;
+
 %configure \
    --exec_prefix=/usr \
    --libexecdir=%{_libdir}/squid \
@@ -122,7 +122,6 @@ export CXXFLAGS="-fPIE %{optflags}" ; export CFLAGS="-fPIE -Os -g -pipe -fsigned
    --with-openssl \
    --with-pthreads
 
-export CXXFLAGS="-fPIE" ; export CFLAGS="-fPIE -Os -g -pipe -fsigned-char" ; export LDFLAGS="-pie" ;
 make \
 	DEFAULT_SWAP_DIR='$(localstatedir)/spool/squid' \
 	%{?_smp_mflags}
@@ -257,6 +256,10 @@ fi
     chgrp squid /var/cache/samba/winbindd_privileged >/dev/null 2>&1 || :
 
 %changelog
+* Thu Sep 03 2010 Henrik Nordstrom <henrik at henriknordstrom.net> - 7:3.1.7-1.fc12.1
+- Drop -fPIE compiler flag. Causes selinux complaints after upstream
+  libtool update and was not really effective anyway.
+
 * Tue Aug 24 2010 Henrik Nordstrom <henrik at henriknordstrom.net> - 7:3.1.7-1
 - Uptream 3.1.7 bugfix release
 


More information about the scm-commits mailing list