netbsd.mkDerivation: don't supply -z relro
Fixes netbsd.locale
Fixes: aab8c7ba43
('netbsd: add cross target')
This commit is contained in:
parent
1548084c3b
commit
81ab32e510
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ let
|
|||
platforms = platforms.unix;
|
||||
license = licenses.bsd2;
|
||||
};
|
||||
} // lib.optionalAttrs stdenv'.isDarwin {
|
||||
MKRELRO = "no";
|
||||
} // lib.optionalAttrs (stdenv'.cc.isClang or false) {
|
||||
HAVE_LLVM = lib.head (lib.splitString "." (lib.getVersion stdenv'.cc.cc));
|
||||
} // lib.optionalAttrs (stdenv'.cc.isGNU or false) {
|
||||
|
|
Loading…
Reference in a new issue