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

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Rasmus Rendal
2022-05-08 21:26:55 +02:00
committed by GitHub
co-authored by Sandro
parent a2543aa2a3
commit 98152f70fd
@@ -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";