Accepting request 141885 from home:namtrac:bugfix

- Statically link to gmp otherwise expr depends on gmp and gmp
  configure script depends on expr which creates a build cycle.

OBS-URL: https://build.opensuse.org/request/show/141885
OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=166
This commit is contained in:
Philipp Thomas 2012-11-19 13:39:29 +00:00 committed by Git OBS Bridge
parent fed157bf6e
commit 498836a997
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 19 13:04:44 UTC 2012 - idonmez@suse.com
- Statically link to gmp otherwise expr depends on gmp and gmp
configure script depends on expr which creates a build cycle.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 8 13:12:25 CET 2012 - pth@suse.de Thu Nov 8 13:12:25 CET 2012 - pth@suse.de

View File

@ -132,6 +132,9 @@ uname unexpand uniq unlink uptime users vdir wc who whoami yes
xz -dc %{S:4} >po/de.po xz -dc %{S:4} >po/de.po
# We need to statically link to gmp, otherwise we have a build loop
sed -i s,'$(LIB_GMP)',%{_libdir}/libgmp.a,g src/Makefile.am
%build %build
AUTOPOINT=true autoreconf -fi AUTOPOINT=true autoreconf -fi
export CFLAGS="%optflags -Wall" export CFLAGS="%optflags -Wall"