Fossil SCM

Be sure to set the default value for the OPTIMIZATIONS nmake macro, i.e. to avoid an expression syntax error.

mistachkin 2021-03-19 02:49 th1-malloc-debugging
Commit 9c36e6335fc64789b24fe2ed7765c3959a96517772783e817bc05221213e7df4
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1501,10 +1501,15 @@
15011501
# Perl is only necessary if OpenSSL support is enabled and it is built from
15021502
# source code. The PERLDIR environment variable, if it exists, should point
15031503
# to the directory containing the main Perl executable specified here (i.e.
15041504
# "perl.exe").
15051505
PERL = perl.exe
1506
+
1507
+# Enable use of available compiler optimizations?
1508
+!ifndef OPTIMIZATIONS
1509
+OPTIMIZATIONS = 2
1510
+!endif
15061511
15071512
# Enable debugging symbols?
15081513
!ifndef DEBUG
15091514
DEBUG = 0
15101515
!endif
15111516
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1501,10 +1501,15 @@
1501 # Perl is only necessary if OpenSSL support is enabled and it is built from
1502 # source code. The PERLDIR environment variable, if it exists, should point
1503 # to the directory containing the main Perl executable specified here (i.e.
1504 # "perl.exe").
1505 PERL = perl.exe
 
 
 
 
 
1506
1507 # Enable debugging symbols?
1508 !ifndef DEBUG
1509 DEBUG = 0
1510 !endif
1511
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -1501,10 +1501,15 @@
1501 # Perl is only necessary if OpenSSL support is enabled and it is built from
1502 # source code. The PERLDIR environment variable, if it exists, should point
1503 # to the directory containing the main Perl executable specified here (i.e.
1504 # "perl.exe").
1505 PERL = perl.exe
1506
1507 # Enable use of available compiler optimizations?
1508 !ifndef OPTIMIZATIONS
1509 OPTIMIZATIONS = 2
1510 !endif
1511
1512 # Enable debugging symbols?
1513 !ifndef DEBUG
1514 DEBUG = 0
1515 !endif
1516
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -37,10 +37,15 @@
3737
# Perl is only necessary if OpenSSL support is enabled and it is built from
3838
# source code. The PERLDIR environment variable, if it exists, should point
3939
# to the directory containing the main Perl executable specified here (i.e.
4040
# "perl.exe").
4141
PERL = perl.exe
42
+
43
+# Enable use of available compiler optimizations?
44
+!ifndef OPTIMIZATIONS
45
+OPTIMIZATIONS = 2
46
+!endif
4247
4348
# Enable debugging symbols?
4449
!ifndef DEBUG
4550
DEBUG = 0
4651
!endif
4752
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -37,10 +37,15 @@
37 # Perl is only necessary if OpenSSL support is enabled and it is built from
38 # source code. The PERLDIR environment variable, if it exists, should point
39 # to the directory containing the main Perl executable specified here (i.e.
40 # "perl.exe").
41 PERL = perl.exe
 
 
 
 
 
42
43 # Enable debugging symbols?
44 !ifndef DEBUG
45 DEBUG = 0
46 !endif
47
--- win/Makefile.msc
+++ win/Makefile.msc
@@ -37,10 +37,15 @@
37 # Perl is only necessary if OpenSSL support is enabled and it is built from
38 # source code. The PERLDIR environment variable, if it exists, should point
39 # to the directory containing the main Perl executable specified here (i.e.
40 # "perl.exe").
41 PERL = perl.exe
42
43 # Enable use of available compiler optimizations?
44 !ifndef OPTIMIZATIONS
45 OPTIMIZATIONS = 2
46 !endif
47
48 # Enable debugging symbols?
49 !ifndef DEBUG
50 DEBUG = 0
51 !endif
52

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button