diffutils: fix cross
https://lists.gnu.org/archive/html/bug-diffutils/2025-04/msg00004.html
This commit is contained in:
@@ -51,7 +51,10 @@ stdenv.mkDerivation rec {
|
||||
# "pr" need not be on the PATH as a run-time dep, so we need to tell
|
||||
# configure where it is. Covers the cross and native case alike.
|
||||
lib.optional (coreutils != null) "PR_PROGRAM=${coreutils}/bin/pr"
|
||||
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "gl_cv_func_getopt_gnu=yes";
|
||||
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
"gl_cv_func_getopt_gnu=yes"
|
||||
"gl_cv_func_strcasecmp_works=yes"
|
||||
];
|
||||
|
||||
# Test failure on QEMU only (#300550)
|
||||
doCheck = !stdenv.buildPlatform.isRiscV64;
|
||||
|
||||
Reference in New Issue
Block a user