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 \