From 6c3fa905526f16b9227e171570b2f0f24f9377506ae8ac66bdf3d06dcd0d0a83 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 26 Mar 2014 12:38:23 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=54 --- gmp.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gmp.spec b/gmp.spec index b35b0bc..921bdc9 100644 --- a/gmp.spec +++ b/gmp.spec @@ -79,10 +79,11 @@ huge numbers (integer and floating point). %endif %build -cat /proc/cpuinfo export CFLAGS="$RPM_OPT_FLAGS -fexceptions" -# Do not use %%configure here, that will break build on SLE11 +# Do not use %%configure here, that will break build on SLE11 because +# there we pass a mismatched --target ./configure \ + --host=%{_host} --build=%{_build} \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --enable-cxx \