1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Do not define DEBUG in MinGW builds by default.

DEBUG prints of intermediate cryptography results in cryptsuite,
resulting in ~2MB of logs.
This commit is contained in:
Pavel I. Kryukov 2019-01-26 12:23:43 +03:00 committed by Simon Tatham
parent de2667f951
commit 24f6f65b85

View File

@ -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".