From 24f6f65b8537eb2ab0ee1f7631d58061d5d45bc4 Mon Sep 17 00:00:00 2001 From: "Pavel I. Kryukov" Date: Sat, 26 Jan 2019 12:23:43 +0300 Subject: [PATCH] Do not define DEBUG in MinGW builds by default. DEBUG prints of intermediate cryptography results in cryptsuite, resulting in ~2MB of logs. --- mkfiles.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkfiles.pl b/mkfiles.pl index 4d2c99ce..e1c14a06 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -627,7 +627,7 @@ if (defined $makefiles{'cygwin'}) { "# You may also need to tell windres where to find include files:\n". "# RCINC = --include-dir c:\\cygwin\\include\\\n". "\n". - &splitline("CFLAGS = -Wall -O2 -std=gnu99 -Wvla -D_WINDOWS -DDEBUG". + &splitline("CFLAGS = -Wall -O2 -std=gnu99 -Wvla -D_WINDOWS". " -DWIN32S_COMPAT -D_NO_OLDNAMES -D__USE_MINGW_ANSI_STDIO=1 " . (join " ", map {"-I$dirpfx$_"} @srcdirs)) . "\n".