mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
groff: fix static build
Without manual override following problematic code in generated "configure" script (line 15918): case "$host_os" in # Guess yes on glibc systems. *-gnu* | gnu*) gl_cv_func_signbit="guessing yes" ;; # Guess yes on native Windows. mingw*) gl_cv_func_signbit="guessing yes" ;; # If we don't know, assume the worst. *) gl_cv_func_signbit="guessing no" ;; esac results in declaration conflict with gnulib declaring int signbit(double) while system "math.h" providing modern declaration as constexpr bool signbit(double)
This commit is contained in:
parent
da613094f7
commit
a8040c700a
@ -52,6 +52,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-gs=${ghostscript}/bin/gs"
|
||||
] ++ stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
"ac_cv_path_PERL=${buildPackages.perl}/bin/perl"
|
||||
"gl_cv_func_signbit=yes"
|
||||
];
|
||||
|
||||
makeFlags = stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
|
Loading…
Reference in New Issue
Block a user