gnum4: Disable stack protector when using MinGW (#171828)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
main
Rasmus Rendal 2 years ago committed by GitHub
parent a2543aa2a3
commit 98152f70fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      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";

Loading…
Cancel
Save