Related: #1417753 - avoid using broken memcmp() code that gcc generates on ppc64le

This commit is contained in:
Kamil Dudka 2017-01-30 22:50:41 +01:00
parent ae38feed7f
commit 500388ce60
1 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Summary: The GNU versions of find utilities (find and xargs)
Name: findutils
Version: 4.6.0
Release: 9%{?dist}
Release: 10%{?dist}
Epoch: 1
License: GPLv3+
Group: Applications/File
@ -95,6 +95,11 @@ git commit -q -m "after invocation of autoreconf"
# prevent test-isinf from failing with gcc-5.3.1 on ppc64le (#1294016)
export CFLAGS="$RPM_OPT_FLAGS -D__SUPPORT_SNAN__"
%ifarch ppc64le
# avoid using broken memcmp() code that gcc generates on ppc64le (#1417753)
CFLAGS="$CFLAGS -fno-builtin-memcmp"
%endif
mkdir build
cd build
ln -s ../configure
@ -136,6 +141,9 @@ fi
%{_infodir}/find-maint.info.gz
%changelog
* Mon Jan 30 2017 Kamil Dudka <kdudka@redhat.com> - 1:4.6.0-10
- avoid using broken memcmp() code that gcc generates on ppc64le (#1417753)
* Fri Jan 27 2017 Kamil Dudka <kdudka@redhat.com> - 1:4.6.0-9
- add explicit BR for git as we use it in %%prep