Fossil SCM

forgot makemake.tcl and Makefile.mingw.mistachkin changes

jan.nijtmans 2012-11-30 16:59 UTC cmdline-expansion
Commit 08802c4af47279c6a1124a5725f1ed5e67da4744
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -503,11 +503,17 @@
503503
endif
504504
505505
#### We add the -static option here so that we can build a static
506506
# executable that will run in a chroot jail.
507507
#
508
-LIB = -static -municode
508
+LIB = -static
509
+
510
+ifeq ($(PREFIX),)
511
+TCC += -DBROKEN_MINGW_CMDLINE
512
+else
513
+LIB += -municode
514
+endif
509515
510516
# OpenSSL: Add the necessary libraries required, if enabled.
511517
ifdef FOSSIL_ENABLE_SSL
512518
LIB += -lssl -lcrypto -lgdi32
513519
endif
514520
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -503,11 +503,17 @@
503 endif
504
505 #### We add the -static option here so that we can build a static
506 # executable that will run in a chroot jail.
507 #
508 LIB = -static -municode
 
 
 
 
 
 
509
510 # OpenSSL: Add the necessary libraries required, if enabled.
511 ifdef FOSSIL_ENABLE_SSL
512 LIB += -lssl -lcrypto -lgdi32
513 endif
514
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -503,11 +503,17 @@
503 endif
504
505 #### We add the -static option here so that we can build a static
506 # executable that will run in a chroot jail.
507 #
508 LIB = -static
509
510 ifeq ($(PREFIX),)
511 TCC += -DBROKEN_MINGW_CMDLINE
512 else
513 LIB += -municode
514 endif
515
516 # OpenSSL: Add the necessary libraries required, if enabled.
517 ifdef FOSSIL_ENABLE_SSL
518 LIB += -lssl -lcrypto -lgdi32
519 endif
520
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -13,14 +13,14 @@
1313
#
1414
1515
#### Select one of MinGW, MinGW-64 (32-bit) or MinGW-w64 (64-bit) compilers.
1616
# By default, this is an empty string (i.e. use the native compiler).
1717
#
18
-PREFIX =
18
+# PREFIX =
1919
# PREFIX = mingw32-
2020
# PREFIX = i686-pc-mingw32-
21
-# PREFIX = i686-w64-mingw32-
21
+PREFIX = i686-w64-mingw32-
2222
# PREFIX = x86_64-w64-mingw32-
2323
2424
#### The toplevel directory of the source tree. Fossil can be built
2525
# in a directory that is separate from the source tree. Just change
2626
# the following to point from the build directory to the src/ folder.
@@ -173,11 +173,17 @@
173173
endif
174174
175175
#### We add the -static option here so that we can build a static
176176
# executable that will run in a chroot jail.
177177
#
178
-LIB = -static -municode
178
+LIB = -static
179
+
180
+ifeq ($(PREFIX),)
181
+TCC += -DBROKEN_MINGW_CMDLINE
182
+else
183
+LIB += -municode
184
+endif
179185
180186
# OpenSSL: Add the necessary libraries required, if enabled.
181187
ifdef FOSSIL_ENABLE_SSL
182188
LIB += -lssl -lcrypto -lgdi32
183189
endif
184190
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -13,14 +13,14 @@
13 #
14
15 #### Select one of MinGW, MinGW-64 (32-bit) or MinGW-w64 (64-bit) compilers.
16 # By default, this is an empty string (i.e. use the native compiler).
17 #
18 PREFIX =
19 # PREFIX = mingw32-
20 # PREFIX = i686-pc-mingw32-
21 # PREFIX = i686-w64-mingw32-
22 # PREFIX = x86_64-w64-mingw32-
23
24 #### The toplevel directory of the source tree. Fossil can be built
25 # in a directory that is separate from the source tree. Just change
26 # the following to point from the build directory to the src/ folder.
@@ -173,11 +173,17 @@
173 endif
174
175 #### We add the -static option here so that we can build a static
176 # executable that will run in a chroot jail.
177 #
178 LIB = -static -municode
 
 
 
 
 
 
179
180 # OpenSSL: Add the necessary libraries required, if enabled.
181 ifdef FOSSIL_ENABLE_SSL
182 LIB += -lssl -lcrypto -lgdi32
183 endif
184
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -13,14 +13,14 @@
13 #
14
15 #### Select one of MinGW, MinGW-64 (32-bit) or MinGW-w64 (64-bit) compilers.
16 # By default, this is an empty string (i.e. use the native compiler).
17 #
18 # PREFIX =
19 # PREFIX = mingw32-
20 # PREFIX = i686-pc-mingw32-
21 PREFIX = i686-w64-mingw32-
22 # PREFIX = x86_64-w64-mingw32-
23
24 #### The toplevel directory of the source tree. Fossil can be built
25 # in a directory that is separate from the source tree. Just change
26 # the following to point from the build directory to the src/ folder.
@@ -173,11 +173,17 @@
173 endif
174
175 #### We add the -static option here so that we can build a static
176 # executable that will run in a chroot jail.
177 #
178 LIB = -static
179
180 ifeq ($(PREFIX),)
181 TCC += -DBROKEN_MINGW_CMDLINE
182 else
183 LIB += -municode
184 endif
185
186 # OpenSSL: Add the necessary libraries required, if enabled.
187 ifdef FOSSIL_ENABLE_SSL
188 LIB += -lssl -lcrypto -lgdi32
189 endif
190

Keyboard Shortcuts

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