jdupes: fix build on Darwin
jdupes was compiled with HARDEN=1. This adds the '-z' option to `ld`, which is not available LLVM ld. Only enable the HARDEN option for GNU toolchains.
This commit is contained in:
parent
9ef100c353
commit
b87268ff2e
@ -19,10 +19,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [
|
||||
"PREFIX=${placeholder "out"}"
|
||||
"HARDEN=1"
|
||||
] ++ stdenv.lib.optionals stdenv.isLinux [
|
||||
"ENABLE_DEDUPE=1"
|
||||
"STATIC_DEDUPE_H=1"
|
||||
] ++ stdenv.lib.optionals stdenv.cc.isGNU [
|
||||
"HARDEN=1"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user