summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-08 10:54:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-02-08 10:54:45 (GMT)
commit2b26997c85f274c792552385b6a36b8614a3662c (patch)
treef30b9ef62f6826c99c8763afb3a06854d3219fad /win/tcl.m4
parent94d7b078fad30fc89ef45da8d9ab20b0832567b3 (diff)
downloadtcl-2b26997c85f274c792552385b6a36b8614a3662c.zip
tcl-2b26997c85f274c792552385b6a36b8614a3662c.tar.gz
tcl-2b26997c85f274c792552385b6a36b8614a3662c.tar.bz2
More changed for windows-arm (e.g. add zdll.lib for ARM64, although zlib1.dll still missing)
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index ad0cf4f..f36f263 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -874,8 +874,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
if test "$do64bit" != "no" ; then
RC="rc"
CFLAGS_DEBUG="-nologo -Zi -Od ${runtime}d"
- # Do not use -O2 for Win64 - this has proved buggy in code gen.
- CFLAGS_OPTIMIZE="-nologo -O1 ${runtime}"
+ CFLAGS_OPTIMIZE="-nologo -O2 ${runtime}"
lflags="${lflags} -nologo -MACHINE:${MACHINE}"
LINKBIN="link"
# Avoid 'unresolved external symbol __security_cookie' errors.