X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=mkfiles.pl;h=b52bf91d95fc977330e9f4f93931686032354f7c;hb=3e22c99c9a3c28e042f2dc3a50fadf95e7c277e7;hp=c87ae4e673e695db921a9fd40eccb4a4f0a7da12;hpb=5415b8293067e02ea743321dbefdcbed72a114cc;p=PuTTY.git diff --git a/mkfiles.pl b/mkfiles.pl index c87ae4e6..b52bf91d 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -433,7 +433,7 @@ if (defined $makefiles{'cygwin'}) { ##-- CygWin makefile open OUT, ">$makefiles{'cygwin'}"; select OUT; print - "# Makefile for $project_name under cygwin.\n". + "# Makefile for $project_name under Cygwin, MinGW, or Winelib.\n". "#\n# This file was created by `mkfiles.pl' from the `Recipe' file.\n". "# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead.\n"; # gcc command line option is -D not /D @@ -453,7 +453,7 @@ if (defined $makefiles{'cygwin'}) { "# RCINC = --include-dir c:\\cygwin\\include\\\n". "\n". &splitline("CFLAGS = -mno-cygwin -Wall -O2 -D_WINDOWS -DDEBUG -DWIN32S_COMPAT". - " -D_NO_OLDNAMES -DNO_MULTIMON -DNO_HTMLHELP " . + " -D_NO_OLDNAMES -DNO_MULTIMON -DNO_HTMLHELP -DNO_SECUREZEROMEMORY " . (join " ", map {"-I$dirpfx$_"} @srcdirs)) . "\n". "LDFLAGS = -mno-cygwin -s\n".