we build sparc32 sparcv9 by default now it needed adding to the -fPIE list

This commit is contained in:
Dennis Gilmore 2008-02-13 03:52:43 +00:00
parent 993dd1a3db
commit 91bdf496cd

View File

@ -63,7 +63,7 @@
Summary: The OpenSSH implementation of SSH protocol versions 1 and 2 Summary: The OpenSSH implementation of SSH protocol versions 1 and 2
Name: openssh Name: openssh
Version: 4.7p1 Version: 4.7p1
Release: 7%{?dist}%{?rescue_rel} Release: 8%{?dist}%{?rescue_rel}
URL: http://www.openssh.com/portable.html URL: http://www.openssh.com/portable.html
#Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz #Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
#Source1: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz.asc #Source1: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz.asc
@ -241,7 +241,7 @@ CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
CFLAGS="$CFLAGS -Os" CFLAGS="$CFLAGS -Os"
%endif %endif
%if %{pie} %if %{pie}
%ifarch s390 s390x sparc sparc64 %ifarch s390 s390x sparc sparcv9 sparc64
CFLAGS="$CFLAGS -fPIE" CFLAGS="$CFLAGS -fPIE"
%else %else
CFLAGS="$CFLAGS -fpie" CFLAGS="$CFLAGS -fpie"
@ -482,6 +482,9 @@ fi
%endif %endif
%changelog %changelog
* Tue Feb 12 2008 Dennis Gilmore <dennis@ausil.us> - 4.7p1-8
- we build for sparcv9 now and it needs -fPIE
* Thu Jan 3 2008 Tomas Mraz <tmraz@redhat.com> - 4.7p1-7 * Thu Jan 3 2008 Tomas Mraz <tmraz@redhat.com> - 4.7p1-7
- fix gssapi auth with explicit selinux role requested (#427303) - patch - fix gssapi auth with explicit selinux role requested (#427303) - patch
by Nalin Dahyabhai by Nalin Dahyabhai