add ppc64p7 subarch support in config.sub (Fedora only)
This commit is contained in:
parent
765fab4a6f
commit
53ef4c8b84
@ -8,7 +8,7 @@
|
||||
Summary: The Cyrus SASL library
|
||||
Name: cyrus-sasl
|
||||
Version: 2.1.26
|
||||
Release: 12%{?dist}
|
||||
Release: 13%{?dist}
|
||||
License: BSD with advertising
|
||||
Group: System Environment/Libraries
|
||||
# Source0 originally comes from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/;
|
||||
@ -223,6 +223,12 @@ if test x"$LIB_DIR" != "x-L%{_libdir}"; then
|
||||
LDFLAGS="$LIB_DIR $LDFLAGS"; export LDFLAGS
|
||||
fi
|
||||
|
||||
# Patch config.sub to support ppc64p7 subarch (Fedora specific)
|
||||
# This is similar to what the config.sub from automake has
|
||||
for i in `find . -name config.sub`; do
|
||||
perl -pi -e "s/ppc64-\*/ppc64-\* \| ppc64p7-\*/" $i
|
||||
done
|
||||
|
||||
CFLAGS="$RPM_OPT_FLAGS $CFLAGS $CPPFLAGS -fPIE"; export CFLAGS
|
||||
LDFLAGS="$LDFLAGS -pie -Wl,-z,now"; export LDFLAGS
|
||||
|
||||
@ -413,6 +419,9 @@ getent passwd %{username} >/dev/null || useradd -r -g %{username} -d %{homedir}
|
||||
%{_sbindir}/sasl2-shared-mechlist
|
||||
|
||||
%changelog
|
||||
* Tue Oct 15 2013 Karsten Hopp <karsten@redhat.com> 2.1.26-13
|
||||
- add ppc64p7 subarch support in config.sub (Fedora only)
|
||||
|
||||
* Mon Sep 09 2013 Petr Lautrbach <plautrba@redhat.com> 2.1.26-12
|
||||
- build with RPM_OPT_FLAGS <ville.skytta@iki.fi> (#1005535)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user