diff --git a/gimp.changes b/gimp.changes index 14d0995..8275f65 100644 --- a/gimp.changes +++ b/gimp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 20 09:56:21 UTC 2019 - Guillaume GARDET + +- Fix build for %arm and ppc64 by adding '-lm' to LDFLAGS + ------------------------------------------------------------------- Thu Oct 31 23:44:59 UTC 2019 - Marcus Rueckert diff --git a/gimp.spec b/gimp.spec index c3c3c56..cf066ca 100644 --- a/gimp.spec +++ b/gimp.spec @@ -224,6 +224,7 @@ test -x "$(type -p %{_bindir}/g++-7)" && export CXX="%{_bindir}/g++-7" export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 export CFLAGS="%{optflags} -fno-strict-aliasing" +export LDFLAGS="%{optflags} -lm" %configure \ --disable-silent-rules \ --disable-static\