From 498836a997fe7212632e48a6a8f6c954b5a9f593ba97a5c74b857ee58c1368e0 Mon Sep 17 00:00:00 2001 From: Philipp Thomas Date: Mon, 19 Nov 2012 13:39:29 +0000 Subject: [PATCH] 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 --- coreutils.changes | 6 ++++++ coreutils.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/coreutils.changes b/coreutils.changes index 4ee4a7a..9e4bc27 100644 --- a/coreutils.changes +++ b/coreutils.changes @@ -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 diff --git a/coreutils.spec b/coreutils.spec index df4c321..92d4c21 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -132,6 +132,9 @@ uname unexpand uniq unlink uptime users vdir wc who whoami yes 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 AUTOPOINT=true autoreconf -fi export CFLAGS="%optflags -Wall"