mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
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
@ -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 New Issue
Block a user