fix aarch64 and ppc64le builds

This commit is contained in:
Robin Lee 2018-02-17 01:43:14 +08:00
parent b337b52472
commit fe76648548
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ develop OCFS2 filesystem-specific programs.
sed -i -e 's/-Wno-format//g' {o2info,o2image,o2monitor}/Makefile
%build
# update config.guess config.sub to support aarch64 and ppc64le
cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
./autogen.sh
%{configure} \
%if %{with_console}