aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/audio/musescore/default.nix
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2016-02-26 18:38:15 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2016-03-05 18:55:26 +0100
commitaff1f4ab948b921ceaf2b81610f2f82454302b4b (patch)
tree6e51e90a41409d56cfa084b9ca64921f2611fafc /pkgs/applications/audio/musescore/default.nix
parenta2e449e43e82e258b94c723d92a5e9af641967e7 (diff)
Use general hardening flag toggle lists
The following parameters are now available: * hardeningDisable To disable specific hardening flags * hardeningEnable To enable specific hardening flags Only the cc-wrapper supports this right now, but these may be reused by other wrappers, builders or setup hooks. cc-wrapper supports the following flags: * fortify * stackprotector * pie (disabled by default) * pic * strictoverflow * format * relro * bindnow
Diffstat (limited to 'pkgs/applications/audio/musescore/default.nix')
-rw-r--r--pkgs/applications/audio/musescore/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/applications/audio/musescore/default.nix b/pkgs/applications/audio/musescore/default.nix
index b6a98268a9bc..b89278a7fd9a 100644
--- a/pkgs/applications/audio/musescore/default.nix
+++ b/pkgs/applications/audio/musescore/default.nix
@@ -13,8 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "12a83v4i830gj76z5744034y1vvwzgy27mjbjp508yh9bd328yqw";
};
- hardening_bindnow = false;
- hardening_relro = false;
+ hardeningDisable = [ "relro" "bindnow" ];
makeFlags = [
"PREFIX=$(out)"