From 87bf20c5819e76e333e5c9aa2e4031e9b1660742 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Sat, 23 Jan 2021 16:04:40 -0700 Subject: [PATCH] Windows: turn on string pooling for CS executables Visual Studio 2015 duplicates the "Replace me for EXE hack" string in the GRacket executable, which breaks the hack. Adding the /GF compiler flag counteracts that duplication, and it's consistent with `true` in the BC projects. --- racket/src/worksp/cs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/racket/src/worksp/cs/Makefile b/racket/src/worksp/cs/Makefile index 81af5ad39f..237002d40f 100644 --- a/racket/src/worksp/cs/Makefile +++ b/racket/src/worksp/cs/Makefile @@ -24,7 +24,7 @@ MAIN_DEPS = ..\..\start\config.inc \ MEMMOD = ..\..\start\MemoryModule.c -FLAGS = /DWIN32 /Ox /MT +FLAGS = /DWIN32 /Ox /MT /GF COMP_SUBDIR = /DCS_COMPILED_SUBDIR=1 all: $(DEST) $(GDEST)