]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - Recipe
clang-specific pragmas to suppress -Wmissing-braces.
[PuTTY.git] / Recipe
diff --git a/Recipe b/Recipe
index 48cad133181494faed86a58395d358a51ae83d7d..9d011f5acaa1bc0ee74ee8f5cb193b49b61ca45d 100644 (file)
--- a/Recipe
+++ b/Recipe
@@ -12,6 +12,7 @@
 # Overall project name.
 !name putty
 # Locations and types of output Makefiles.
+!makefile clangcl windows/Makefile.clangcl
 !makefile vc windows/Makefile.vc
 !makefile vcproj windows/MSVC
 !makefile cygwin windows/Makefile.mgw
@@ -54,8 +55,7 @@
 #         security grounds (although it will run fine on Win95-series
 #         OSes where there is no access control anyway).
 #       - SSH connection sharing is disabled.
-#       - There is no restriction of the process ACLs (on all versions
-#         of Windows, without warning), as if UNPROTECT below were set.
+#       - There is no support for restriction of the process ACLs.
 #
 #  - COMPAT=/DNO_MULTIMON (Windows only)
 #      Disables PuTTY's use of <multimon.h>, which is not available
 #  - XFLAGS=/DDEBUG
 #      Causes PuTTY to enable internal debugging.
 #
-#  - XFLAGS=/DUNPROTECT
-#      Disable tightened ACL on PuTTY process so that e.g. debuggers
-#      can attach to it.
-#
 #  - XFLAGS=/DMALLOC_LOG
 #      Causes PuTTY to emit a file called putty_mem.log, logging every
 #      memory allocation and free, so you can track memory leaks.
@@ -152,6 +148,10 @@ endif
 CFLAGS = $(CFLAGS) /DHAS_GSSAPI
 !end
 
+!begin clangcl vars
+CFLAGS += /DHAS_GSSAPI
+!end
+
 # `make install' target for Unix.
 !begin gtk
 install:
@@ -357,3 +357,7 @@ testbn   : [C] testbn sshbn misc version conf tree234 winmisc LIBS
 cleantestprogs:
        -del $(BUILDDIR)testbn.exe
 !end
+!begin clangcl
+cleantestprogs:
+       -rm -f $(BUILDDIR)testbn.exe
+!end