Fix unrecognized option for e2k

This commit is contained in:
Ilfat G 2022-04-05 15:13:27 +03:00
parent 05cb4ec89d
commit a9193aae33
No known key found for this signature in database
GPG key ID: D5E884CA11E29755

View file

@ -62,6 +62,11 @@ This package provides python3 bindings for %{name}.
%autopatch -p1
sed -i 's/python2/python3/' pylibfdt/setup.py
%ifarch %{e2k}
# -MG is an unrecognized option for lcc
sed -i 's,-MG,,' Makefile
%endif
%build
%setup_compile_flags