- Added workaround for "Patch not found" (https://gnats.netbsd.org/36919)

- Added workaround for "machine `x86_64-redhat' not recognized" from config.sub
epel9
Robert Scheck 10 years ago
parent 097f276de9
commit dd57f6235e

@ -56,6 +56,14 @@ popd
%build
pushd gnu
%if 0%{?rhel} <= 6
# Workaround for "Patch not found" (https://gnats.netbsd.org/36919)
export CFLAGS="$CFLAGS -fno-unit-at-a-time"
%endif
%if 0%{?rhel} == 6
# Workaround for "machine `x86_64-redhat' not recognized" from config.sub
cp -pf /usr/lib/rpm/redhat/config.{guess,sub} .
%endif
%configure
popd

Loading…
Cancel
Save