mpfr: add --disable-decimal-float

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

+7 -3
+7 -3
pkgs/development/libraries/mpfr/default.nix
··· 28 # mpfr.h requires gmp.h 29 propagatedBuildInputs = [ gmp ]; 30 31 - configureFlags = 32 - lib.optional stdenv.hostPlatform.isSunOS "--disable-thread-safe" ++ 33 - lib.optional stdenv.hostPlatform.is64bit "--with-pic"; 34 35 doCheck = true; # not cross; 36
··· 28 # mpfr.h requires gmp.h 29 propagatedBuildInputs = [ gmp ]; 30 31 + configureFlags = lib.optional stdenv.hostPlatform.isSunOS "--disable-thread-safe" 32 + ++ lib.optional stdenv.hostPlatform.is64bit "--with-pic" 33 + ++ lib.optional stdenv.hostPlatform.isPower64 [ 34 + # Without this, the `tget_set_d128` test experiences a link 35 + # error due to missing `__dpd_trunctdkf`. 36 + "--disable-decimal-float" 37 + ]; 38 39 doCheck = true; # not cross; 40