diff options
author | Rasmus Rendal <rasmus@rend.al> | 2022-05-08 21:26:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-08 21:26:55 +0200 |
commit | 98152f70fddfc38eb6cfcb07dbd0458c51e5dfb0 (patch) | |
tree | 85efcafc4959f0459738eadf8e847f40cd3df9cb /pkgs/development/tools/misc/gnum4/default.nix | |
parent | a2543aa2a3c465e11e7f8f7caac8db7ec5a0009b (diff) |
gnum4: Disable stack protector when using MinGW (#171828)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/development/tools/misc/gnum4/default.nix')
-rw-r--r-- | pkgs/development/tools/misc/gnum4/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/gnum4/default.nix b/pkgs/development/tools/misc/gnum4/default.nix index e0f71b2b3c31..7d860528022e 100644 --- a/pkgs/development/tools/misc/gnum4/default.nix +++ b/pkgs/development/tools/misc/gnum4/default.nix @@ -16,7 +16,8 @@ stdenv.mkDerivation rec { doCheck = false; - configureFlags = [ "--with-syscmd-shell=${stdenv.shell}" ]; + configureFlags = [ "--with-syscmd-shell=${stdenv.shell}" ] + ++ lib.optional stdenv.hostPlatform.isMinGW "CFLAGS=-fno-stack-protector"; meta = { description = "GNU M4, a macro processor"; |