Accepting request 749847 from home:Guillaume_G:branches:openSUSE:Factory:ARM

- Fix build for %arm and ppc64 by adding '-lm' to LDFLAGS

OBS-URL: https://build.opensuse.org/request/show/749847
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp?expand=0&rev=40
This commit is contained in:
Dirk Stoecker 2019-11-20 10:53:23 +00:00 committed by Git OBS Bridge
parent 4d2b650dca
commit 88be01c5e2
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 20 09:56:21 UTC 2019 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix build for %arm and ppc64 by adding '-lm' to LDFLAGS
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 31 23:44:59 UTC 2019 - Marcus Rueckert <mrueckert@suse.de> Thu Oct 31 23:44:59 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>

View File

@ -224,6 +224,7 @@ test -x "$(type -p %{_bindir}/g++-7)" && export CXX="%{_bindir}/g++-7"
export LC_ALL=en_US.UTF-8 export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"
export LDFLAGS="%{optflags} -lm"
%configure \ %configure \
--disable-silent-rules \ --disable-silent-rules \
--disable-static\ --disable-static\