Fossil SCM

For the MinGW makefiles, support optional prefixing of all linker arguments.

mistachkin 2016-05-27 23:07 UTC trunk
Commit 0ac4f5d33b6c52758c5b0159124d14bb5e3c5f54
+22 -15
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -687,17 +687,22 @@
687687
688688
#### Tcl: Which Tcl library do we want to use (8.4, 8.5, 8.6, etc)?
689689
#
690690
ifdef FOSSIL_ENABLE_TCL_STUBS
691691
ifndef FOSSIL_ENABLE_TCL_PRIVATE_STUBS
692
-LIBTCL = -ltclstub86
692
+LIBTCL = $(XLDARG) -ltclstub86
693693
endif
694694
TCLTARGET = libtclstub86.a
695695
else
696
-LIBTCL = -ltcl86
696
+LIBTCL = $(XLDARG) -ltcl86
697697
TCLTARGET = binaries
698698
endif
699
+
700
+#### The prefix for all arguments that should be passed to the linker.
701
+# GCC does not need this; however, other compilers may.
702
+#
703
+XLDARG =
699704
700705
#### C compiler for use in building executables that will run on the
701706
# target platform. This is usually the same as BCCEXE, unless you
702707
# are cross-compiling. This C compiler builds the finished binary
703708
# for fossil. See BCC and BCCEXE above for the C compiler for
@@ -723,11 +728,11 @@
723728
endif
724729
725730
#### When not using the miniz compression library, zlib is required.
726731
#
727732
ifndef FOSSIL_ENABLE_MINIZ
728
-TCC += -L$(ZLIBDIR) -I$(ZINCDIR)
733
+TCC += $(XLDARG) -L$(ZLIBDIR) -I$(ZINCDIR)
729734
endif
730735
731736
#### Compile resources for use in building executables that will run
732737
# on the target platform.
733738
#
@@ -737,21 +742,21 @@
737742
RCC += -I$(ZINCDIR)
738743
endif
739744
740745
# With HTTPS support
741746
ifdef FOSSIL_ENABLE_SSL
742
-TCC += -L$(OPENSSLLIBDIR) -I$(OPENSSLINCDIR)
747
+TCC += $(XLDARG) -L$(OPENSSLLIBDIR) -I$(OPENSSLINCDIR)
743748
RCC += -I$(OPENSSLINCDIR)
744749
endif
745750
746751
# With Tcl support
747752
ifdef FOSSIL_ENABLE_TCL
748753
ifdef FOSSIL_TCL_SOURCE
749
-TCC += -L$(TCLSRCDIR)/win -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
754
+TCC += $(XLDARG) -L$(TCLSRCDIR)/win -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
750755
RCC += -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
751756
else
752
-TCC += -L$(TCLLIBDIR) -I$(TCLINCDIR)
757
+TCC += $(XLDARG) -L$(TCLLIBDIR) -I$(TCLINCDIR)
753758
RCC += -I$(TCLINCDIR)
754759
endif
755760
endif
756761
757762
# With miniz (i.e. instead of zlib)
@@ -842,17 +847,17 @@
842847
endif
843848
844849
#### SQLite: If enabled, use the system SQLite library.
845850
#
846851
ifdef USE_SYSTEM_SQLITE
847
-LIB += -lsqlite3
852
+LIB += $(XLDARG) -lsqlite3
848853
endif
849854
850855
#### OpenSSL: Add the necessary libraries required, if enabled.
851856
#
852857
ifdef FOSSIL_ENABLE_SSL
853
-LIB += -lssl -lcrypto -lgdi32
858
+LIB += $(XLDARG) -lssl $(XLDARG) -lcrypto $(XLDARG) -lgdi32
854859
endif
855860
856861
#### Tcl: Add the necessary libraries required, if enabled.
857862
#
858863
ifdef FOSSIL_ENABLE_TCL
@@ -861,29 +866,31 @@
861866
862867
#### Extra arguments for linking the finished binary. Fossil needs
863868
# to link against the Z-Lib compression library. There are no
864869
# other mandatory dependencies.
865870
#
866
-LIB += -lmingwex
871
+LIB += $(XLDARG) -lmingwex
867872
868873
#### When not using the miniz compression library, zlib is required.
869874
#
870875
ifndef FOSSIL_ENABLE_MINIZ
871
-LIB += -lz
876
+LIB += $(XLDARG) -lz
872877
endif
873878
874879
#### These libraries MUST appear in the same order as they do for Tcl
875880
# or linking with it will not work (exact reason unknown).
876881
#
877882
ifdef FOSSIL_ENABLE_TCL
878883
ifdef FOSSIL_ENABLE_TCL_STUBS
879
-LIB += -lkernel32 -lws2_32
884
+LIB += $(XLDARG) -lkernel32 $(XLDARG) -lws2_32
880885
else
881
-LIB += -lnetapi32 -lkernel32 -luser32 -ladvapi32 -lws2_32
886
+LIB += $(XLDARG) -lnetapi32 $(XLDARG) -lkernel32
887
+LIB += $(XLDARG) -luser32 $(XLDARG) -ladvapi32
888
+LIB += $(XLDARG) -lws2_32
882889
endif
883890
else
884
-LIB += -lkernel32 -lws2_32
891
+LIB += $(XLDARG) -lkernel32 $(XLDARG) -lws2_32
885892
endif
886893
887894
#### Tcl shell for use in running the fossil test suite. This is only
888895
# used for testing.
889896
#
@@ -1066,14 +1073,14 @@
10661073
$(OBJDIR)/cson_amalgamation.o
10671074
}]
10681075
10691076
writeln {
10701077
zlib:
1071
- $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) $(ZLIBCONFIG) -f win32/Makefile.gcc libz.a
1078
+ $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) CC=$(PREFIX)$(TCCEXE) $(ZLIBCONFIG) -f win32/Makefile.gcc libz.a
10721079
10731080
clean-zlib:
1074
- $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) -f win32/Makefile.gcc clean
1081
+ $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) CC=$(PREFIX)$(TCCEXE) -f win32/Makefile.gcc clean
10751082
10761083
$(ZLIBDIR)/inffas86.o:
10771084
$(TCC) -c -o $@ -DASMINF -I$(ZLIBDIR) -O3 $(ZLIBDIR)/contrib/inflate86/inffas86.c
10781085
10791086
$(ZLIBDIR)/match.o:
10801087
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -687,17 +687,22 @@
687
688 #### Tcl: Which Tcl library do we want to use (8.4, 8.5, 8.6, etc)?
689 #
690 ifdef FOSSIL_ENABLE_TCL_STUBS
691 ifndef FOSSIL_ENABLE_TCL_PRIVATE_STUBS
692 LIBTCL = -ltclstub86
693 endif
694 TCLTARGET = libtclstub86.a
695 else
696 LIBTCL = -ltcl86
697 TCLTARGET = binaries
698 endif
 
 
 
 
 
699
700 #### C compiler for use in building executables that will run on the
701 # target platform. This is usually the same as BCCEXE, unless you
702 # are cross-compiling. This C compiler builds the finished binary
703 # for fossil. See BCC and BCCEXE above for the C compiler for
@@ -723,11 +728,11 @@
723 endif
724
725 #### When not using the miniz compression library, zlib is required.
726 #
727 ifndef FOSSIL_ENABLE_MINIZ
728 TCC += -L$(ZLIBDIR) -I$(ZINCDIR)
729 endif
730
731 #### Compile resources for use in building executables that will run
732 # on the target platform.
733 #
@@ -737,21 +742,21 @@
737 RCC += -I$(ZINCDIR)
738 endif
739
740 # With HTTPS support
741 ifdef FOSSIL_ENABLE_SSL
742 TCC += -L$(OPENSSLLIBDIR) -I$(OPENSSLINCDIR)
743 RCC += -I$(OPENSSLINCDIR)
744 endif
745
746 # With Tcl support
747 ifdef FOSSIL_ENABLE_TCL
748 ifdef FOSSIL_TCL_SOURCE
749 TCC += -L$(TCLSRCDIR)/win -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
750 RCC += -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
751 else
752 TCC += -L$(TCLLIBDIR) -I$(TCLINCDIR)
753 RCC += -I$(TCLINCDIR)
754 endif
755 endif
756
757 # With miniz (i.e. instead of zlib)
@@ -842,17 +847,17 @@
842 endif
843
844 #### SQLite: If enabled, use the system SQLite library.
845 #
846 ifdef USE_SYSTEM_SQLITE
847 LIB += -lsqlite3
848 endif
849
850 #### OpenSSL: Add the necessary libraries required, if enabled.
851 #
852 ifdef FOSSIL_ENABLE_SSL
853 LIB += -lssl -lcrypto -lgdi32
854 endif
855
856 #### Tcl: Add the necessary libraries required, if enabled.
857 #
858 ifdef FOSSIL_ENABLE_TCL
@@ -861,29 +866,31 @@
861
862 #### Extra arguments for linking the finished binary. Fossil needs
863 # to link against the Z-Lib compression library. There are no
864 # other mandatory dependencies.
865 #
866 LIB += -lmingwex
867
868 #### When not using the miniz compression library, zlib is required.
869 #
870 ifndef FOSSIL_ENABLE_MINIZ
871 LIB += -lz
872 endif
873
874 #### These libraries MUST appear in the same order as they do for Tcl
875 # or linking with it will not work (exact reason unknown).
876 #
877 ifdef FOSSIL_ENABLE_TCL
878 ifdef FOSSIL_ENABLE_TCL_STUBS
879 LIB += -lkernel32 -lws2_32
880 else
881 LIB += -lnetapi32 -lkernel32 -luser32 -ladvapi32 -lws2_32
 
 
882 endif
883 else
884 LIB += -lkernel32 -lws2_32
885 endif
886
887 #### Tcl shell for use in running the fossil test suite. This is only
888 # used for testing.
889 #
@@ -1066,14 +1073,14 @@
1066 $(OBJDIR)/cson_amalgamation.o
1067 }]
1068
1069 writeln {
1070 zlib:
1071 $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) $(ZLIBCONFIG) -f win32/Makefile.gcc libz.a
1072
1073 clean-zlib:
1074 $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) -f win32/Makefile.gcc clean
1075
1076 $(ZLIBDIR)/inffas86.o:
1077 $(TCC) -c -o $@ -DASMINF -I$(ZLIBDIR) -O3 $(ZLIBDIR)/contrib/inflate86/inffas86.c
1078
1079 $(ZLIBDIR)/match.o:
1080
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -687,17 +687,22 @@
687
688 #### Tcl: Which Tcl library do we want to use (8.4, 8.5, 8.6, etc)?
689 #
690 ifdef FOSSIL_ENABLE_TCL_STUBS
691 ifndef FOSSIL_ENABLE_TCL_PRIVATE_STUBS
692 LIBTCL = $(XLDARG) -ltclstub86
693 endif
694 TCLTARGET = libtclstub86.a
695 else
696 LIBTCL = $(XLDARG) -ltcl86
697 TCLTARGET = binaries
698 endif
699
700 #### The prefix for all arguments that should be passed to the linker.
701 # GCC does not need this; however, other compilers may.
702 #
703 XLDARG =
704
705 #### C compiler for use in building executables that will run on the
706 # target platform. This is usually the same as BCCEXE, unless you
707 # are cross-compiling. This C compiler builds the finished binary
708 # for fossil. See BCC and BCCEXE above for the C compiler for
@@ -723,11 +728,11 @@
728 endif
729
730 #### When not using the miniz compression library, zlib is required.
731 #
732 ifndef FOSSIL_ENABLE_MINIZ
733 TCC += $(XLDARG) -L$(ZLIBDIR) -I$(ZINCDIR)
734 endif
735
736 #### Compile resources for use in building executables that will run
737 # on the target platform.
738 #
@@ -737,21 +742,21 @@
742 RCC += -I$(ZINCDIR)
743 endif
744
745 # With HTTPS support
746 ifdef FOSSIL_ENABLE_SSL
747 TCC += $(XLDARG) -L$(OPENSSLLIBDIR) -I$(OPENSSLINCDIR)
748 RCC += -I$(OPENSSLINCDIR)
749 endif
750
751 # With Tcl support
752 ifdef FOSSIL_ENABLE_TCL
753 ifdef FOSSIL_TCL_SOURCE
754 TCC += $(XLDARG) -L$(TCLSRCDIR)/win -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
755 RCC += -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
756 else
757 TCC += $(XLDARG) -L$(TCLLIBDIR) -I$(TCLINCDIR)
758 RCC += -I$(TCLINCDIR)
759 endif
760 endif
761
762 # With miniz (i.e. instead of zlib)
@@ -842,17 +847,17 @@
847 endif
848
849 #### SQLite: If enabled, use the system SQLite library.
850 #
851 ifdef USE_SYSTEM_SQLITE
852 LIB += $(XLDARG) -lsqlite3
853 endif
854
855 #### OpenSSL: Add the necessary libraries required, if enabled.
856 #
857 ifdef FOSSIL_ENABLE_SSL
858 LIB += $(XLDARG) -lssl $(XLDARG) -lcrypto $(XLDARG) -lgdi32
859 endif
860
861 #### Tcl: Add the necessary libraries required, if enabled.
862 #
863 ifdef FOSSIL_ENABLE_TCL
@@ -861,29 +866,31 @@
866
867 #### Extra arguments for linking the finished binary. Fossil needs
868 # to link against the Z-Lib compression library. There are no
869 # other mandatory dependencies.
870 #
871 LIB += $(XLDARG) -lmingwex
872
873 #### When not using the miniz compression library, zlib is required.
874 #
875 ifndef FOSSIL_ENABLE_MINIZ
876 LIB += $(XLDARG) -lz
877 endif
878
879 #### These libraries MUST appear in the same order as they do for Tcl
880 # or linking with it will not work (exact reason unknown).
881 #
882 ifdef FOSSIL_ENABLE_TCL
883 ifdef FOSSIL_ENABLE_TCL_STUBS
884 LIB += $(XLDARG) -lkernel32 $(XLDARG) -lws2_32
885 else
886 LIB += $(XLDARG) -lnetapi32 $(XLDARG) -lkernel32
887 LIB += $(XLDARG) -luser32 $(XLDARG) -ladvapi32
888 LIB += $(XLDARG) -lws2_32
889 endif
890 else
891 LIB += $(XLDARG) -lkernel32 $(XLDARG) -lws2_32
892 endif
893
894 #### Tcl shell for use in running the fossil test suite. This is only
895 # used for testing.
896 #
@@ -1066,14 +1073,14 @@
1073 $(OBJDIR)/cson_amalgamation.o
1074 }]
1075
1076 writeln {
1077 zlib:
1078 $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) CC=$(PREFIX)$(TCCEXE) $(ZLIBCONFIG) -f win32/Makefile.gcc libz.a
1079
1080 clean-zlib:
1081 $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) CC=$(PREFIX)$(TCCEXE) -f win32/Makefile.gcc clean
1082
1083 $(ZLIBDIR)/inffas86.o:
1084 $(TCC) -c -o $@ -DASMINF -I$(ZLIBDIR) -O3 $(ZLIBDIR)/contrib/inflate86/inffas86.c
1085
1086 $(ZLIBDIR)/match.o:
1087
+22 -15
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -203,17 +203,22 @@
203203
204204
#### Tcl: Which Tcl library do we want to use (8.4, 8.5, 8.6, etc)?
205205
#
206206
ifdef FOSSIL_ENABLE_TCL_STUBS
207207
ifndef FOSSIL_ENABLE_TCL_PRIVATE_STUBS
208
-LIBTCL = -ltclstub86
208
+LIBTCL = $(XLDARG) -ltclstub86
209209
endif
210210
TCLTARGET = libtclstub86.a
211211
else
212
-LIBTCL = -ltcl86
212
+LIBTCL = $(XLDARG) -ltcl86
213213
TCLTARGET = binaries
214214
endif
215
+
216
+#### The prefix for all arguments that should be passed to the linker.
217
+# GCC does not need this; however, other compilers may.
218
+#
219
+XLDARG =
215220
216221
#### C compiler for use in building executables that will run on the
217222
# target platform. This is usually the same as BCCEXE, unless you
218223
# are cross-compiling. This C compiler builds the finished binary
219224
# for fossil. See BCC and BCCEXE above for the C compiler for
@@ -239,11 +244,11 @@
239244
endif
240245
241246
#### When not using the miniz compression library, zlib is required.
242247
#
243248
ifndef FOSSIL_ENABLE_MINIZ
244
-TCC += -L$(ZLIBDIR) -I$(ZINCDIR)
249
+TCC += $(XLDARG) -L$(ZLIBDIR) -I$(ZINCDIR)
245250
endif
246251
247252
#### Compile resources for use in building executables that will run
248253
# on the target platform.
249254
#
@@ -253,21 +258,21 @@
253258
RCC += -I$(ZINCDIR)
254259
endif
255260
256261
# With HTTPS support
257262
ifdef FOSSIL_ENABLE_SSL
258
-TCC += -L$(OPENSSLLIBDIR) -I$(OPENSSLINCDIR)
263
+TCC += $(XLDARG) -L$(OPENSSLLIBDIR) -I$(OPENSSLINCDIR)
259264
RCC += -I$(OPENSSLINCDIR)
260265
endif
261266
262267
# With Tcl support
263268
ifdef FOSSIL_ENABLE_TCL
264269
ifdef FOSSIL_TCL_SOURCE
265
-TCC += -L$(TCLSRCDIR)/win -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
270
+TCC += $(XLDARG) -L$(TCLSRCDIR)/win -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
266271
RCC += -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
267272
else
268
-TCC += -L$(TCLLIBDIR) -I$(TCLINCDIR)
273
+TCC += $(XLDARG) -L$(TCLLIBDIR) -I$(TCLINCDIR)
269274
RCC += -I$(TCLINCDIR)
270275
endif
271276
endif
272277
273278
# With miniz (i.e. instead of zlib)
@@ -358,17 +363,17 @@
358363
endif
359364
360365
#### SQLite: If enabled, use the system SQLite library.
361366
#
362367
ifdef USE_SYSTEM_SQLITE
363
-LIB += -lsqlite3
368
+LIB += $(XLDARG) -lsqlite3
364369
endif
365370
366371
#### OpenSSL: Add the necessary libraries required, if enabled.
367372
#
368373
ifdef FOSSIL_ENABLE_SSL
369
-LIB += -lssl -lcrypto -lgdi32
374
+LIB += $(XLDARG) -lssl $(XLDARG) -lcrypto $(XLDARG) -lgdi32
370375
endif
371376
372377
#### Tcl: Add the necessary libraries required, if enabled.
373378
#
374379
ifdef FOSSIL_ENABLE_TCL
@@ -377,29 +382,31 @@
377382
378383
#### Extra arguments for linking the finished binary. Fossil needs
379384
# to link against the Z-Lib compression library. There are no
380385
# other mandatory dependencies.
381386
#
382
-LIB += -lmingwex
387
+LIB += $(XLDARG) -lmingwex
383388
384389
#### When not using the miniz compression library, zlib is required.
385390
#
386391
ifndef FOSSIL_ENABLE_MINIZ
387
-LIB += -lz
392
+LIB += $(XLDARG) -lz
388393
endif
389394
390395
#### These libraries MUST appear in the same order as they do for Tcl
391396
# or linking with it will not work (exact reason unknown).
392397
#
393398
ifdef FOSSIL_ENABLE_TCL
394399
ifdef FOSSIL_ENABLE_TCL_STUBS
395
-LIB += -lkernel32 -lws2_32
400
+LIB += $(XLDARG) -lkernel32 $(XLDARG) -lws2_32
396401
else
397
-LIB += -lnetapi32 -lkernel32 -luser32 -ladvapi32 -lws2_32
402
+LIB += $(XLDARG) -lnetapi32 $(XLDARG) -lkernel32
403
+LIB += $(XLDARG) -luser32 $(XLDARG) -ladvapi32
404
+LIB += $(XLDARG) -lws2_32
398405
endif
399406
else
400
-LIB += -lkernel32 -lws2_32
407
+LIB += $(XLDARG) -lkernel32 $(XLDARG) -lws2_32
401408
endif
402409
403410
#### Tcl shell for use in running the fossil test suite. This is only
404411
# used for testing.
405412
#
@@ -973,14 +980,14 @@
973980
$(OBJDIR)/th_tcl.o \
974981
$(OBJDIR)/cson_amalgamation.o
975982
976983
977984
zlib:
978
- $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) $(ZLIBCONFIG) -f win32/Makefile.gcc libz.a
985
+ $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) CC=$(PREFIX)$(TCCEXE) $(ZLIBCONFIG) -f win32/Makefile.gcc libz.a
979986
980987
clean-zlib:
981
- $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) -f win32/Makefile.gcc clean
988
+ $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) CC=$(PREFIX)$(TCCEXE) -f win32/Makefile.gcc clean
982989
983990
$(ZLIBDIR)/inffas86.o:
984991
$(TCC) -c -o $@ -DASMINF -I$(ZLIBDIR) -O3 $(ZLIBDIR)/contrib/inflate86/inffas86.c
985992
986993
$(ZLIBDIR)/match.o:
987994
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -203,17 +203,22 @@
203
204 #### Tcl: Which Tcl library do we want to use (8.4, 8.5, 8.6, etc)?
205 #
206 ifdef FOSSIL_ENABLE_TCL_STUBS
207 ifndef FOSSIL_ENABLE_TCL_PRIVATE_STUBS
208 LIBTCL = -ltclstub86
209 endif
210 TCLTARGET = libtclstub86.a
211 else
212 LIBTCL = -ltcl86
213 TCLTARGET = binaries
214 endif
 
 
 
 
 
215
216 #### C compiler for use in building executables that will run on the
217 # target platform. This is usually the same as BCCEXE, unless you
218 # are cross-compiling. This C compiler builds the finished binary
219 # for fossil. See BCC and BCCEXE above for the C compiler for
@@ -239,11 +244,11 @@
239 endif
240
241 #### When not using the miniz compression library, zlib is required.
242 #
243 ifndef FOSSIL_ENABLE_MINIZ
244 TCC += -L$(ZLIBDIR) -I$(ZINCDIR)
245 endif
246
247 #### Compile resources for use in building executables that will run
248 # on the target platform.
249 #
@@ -253,21 +258,21 @@
253 RCC += -I$(ZINCDIR)
254 endif
255
256 # With HTTPS support
257 ifdef FOSSIL_ENABLE_SSL
258 TCC += -L$(OPENSSLLIBDIR) -I$(OPENSSLINCDIR)
259 RCC += -I$(OPENSSLINCDIR)
260 endif
261
262 # With Tcl support
263 ifdef FOSSIL_ENABLE_TCL
264 ifdef FOSSIL_TCL_SOURCE
265 TCC += -L$(TCLSRCDIR)/win -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
266 RCC += -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
267 else
268 TCC += -L$(TCLLIBDIR) -I$(TCLINCDIR)
269 RCC += -I$(TCLINCDIR)
270 endif
271 endif
272
273 # With miniz (i.e. instead of zlib)
@@ -358,17 +363,17 @@
358 endif
359
360 #### SQLite: If enabled, use the system SQLite library.
361 #
362 ifdef USE_SYSTEM_SQLITE
363 LIB += -lsqlite3
364 endif
365
366 #### OpenSSL: Add the necessary libraries required, if enabled.
367 #
368 ifdef FOSSIL_ENABLE_SSL
369 LIB += -lssl -lcrypto -lgdi32
370 endif
371
372 #### Tcl: Add the necessary libraries required, if enabled.
373 #
374 ifdef FOSSIL_ENABLE_TCL
@@ -377,29 +382,31 @@
377
378 #### Extra arguments for linking the finished binary. Fossil needs
379 # to link against the Z-Lib compression library. There are no
380 # other mandatory dependencies.
381 #
382 LIB += -lmingwex
383
384 #### When not using the miniz compression library, zlib is required.
385 #
386 ifndef FOSSIL_ENABLE_MINIZ
387 LIB += -lz
388 endif
389
390 #### These libraries MUST appear in the same order as they do for Tcl
391 # or linking with it will not work (exact reason unknown).
392 #
393 ifdef FOSSIL_ENABLE_TCL
394 ifdef FOSSIL_ENABLE_TCL_STUBS
395 LIB += -lkernel32 -lws2_32
396 else
397 LIB += -lnetapi32 -lkernel32 -luser32 -ladvapi32 -lws2_32
 
 
398 endif
399 else
400 LIB += -lkernel32 -lws2_32
401 endif
402
403 #### Tcl shell for use in running the fossil test suite. This is only
404 # used for testing.
405 #
@@ -973,14 +980,14 @@
973 $(OBJDIR)/th_tcl.o \
974 $(OBJDIR)/cson_amalgamation.o
975
976
977 zlib:
978 $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) $(ZLIBCONFIG) -f win32/Makefile.gcc libz.a
979
980 clean-zlib:
981 $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) -f win32/Makefile.gcc clean
982
983 $(ZLIBDIR)/inffas86.o:
984 $(TCC) -c -o $@ -DASMINF -I$(ZLIBDIR) -O3 $(ZLIBDIR)/contrib/inflate86/inffas86.c
985
986 $(ZLIBDIR)/match.o:
987
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -203,17 +203,22 @@
203
204 #### Tcl: Which Tcl library do we want to use (8.4, 8.5, 8.6, etc)?
205 #
206 ifdef FOSSIL_ENABLE_TCL_STUBS
207 ifndef FOSSIL_ENABLE_TCL_PRIVATE_STUBS
208 LIBTCL = $(XLDARG) -ltclstub86
209 endif
210 TCLTARGET = libtclstub86.a
211 else
212 LIBTCL = $(XLDARG) -ltcl86
213 TCLTARGET = binaries
214 endif
215
216 #### The prefix for all arguments that should be passed to the linker.
217 # GCC does not need this; however, other compilers may.
218 #
219 XLDARG =
220
221 #### C compiler for use in building executables that will run on the
222 # target platform. This is usually the same as BCCEXE, unless you
223 # are cross-compiling. This C compiler builds the finished binary
224 # for fossil. See BCC and BCCEXE above for the C compiler for
@@ -239,11 +244,11 @@
244 endif
245
246 #### When not using the miniz compression library, zlib is required.
247 #
248 ifndef FOSSIL_ENABLE_MINIZ
249 TCC += $(XLDARG) -L$(ZLIBDIR) -I$(ZINCDIR)
250 endif
251
252 #### Compile resources for use in building executables that will run
253 # on the target platform.
254 #
@@ -253,21 +258,21 @@
258 RCC += -I$(ZINCDIR)
259 endif
260
261 # With HTTPS support
262 ifdef FOSSIL_ENABLE_SSL
263 TCC += $(XLDARG) -L$(OPENSSLLIBDIR) -I$(OPENSSLINCDIR)
264 RCC += -I$(OPENSSLINCDIR)
265 endif
266
267 # With Tcl support
268 ifdef FOSSIL_ENABLE_TCL
269 ifdef FOSSIL_TCL_SOURCE
270 TCC += $(XLDARG) -L$(TCLSRCDIR)/win -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
271 RCC += -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
272 else
273 TCC += $(XLDARG) -L$(TCLLIBDIR) -I$(TCLINCDIR)
274 RCC += -I$(TCLINCDIR)
275 endif
276 endif
277
278 # With miniz (i.e. instead of zlib)
@@ -358,17 +363,17 @@
363 endif
364
365 #### SQLite: If enabled, use the system SQLite library.
366 #
367 ifdef USE_SYSTEM_SQLITE
368 LIB += $(XLDARG) -lsqlite3
369 endif
370
371 #### OpenSSL: Add the necessary libraries required, if enabled.
372 #
373 ifdef FOSSIL_ENABLE_SSL
374 LIB += $(XLDARG) -lssl $(XLDARG) -lcrypto $(XLDARG) -lgdi32
375 endif
376
377 #### Tcl: Add the necessary libraries required, if enabled.
378 #
379 ifdef FOSSIL_ENABLE_TCL
@@ -377,29 +382,31 @@
382
383 #### Extra arguments for linking the finished binary. Fossil needs
384 # to link against the Z-Lib compression library. There are no
385 # other mandatory dependencies.
386 #
387 LIB += $(XLDARG) -lmingwex
388
389 #### When not using the miniz compression library, zlib is required.
390 #
391 ifndef FOSSIL_ENABLE_MINIZ
392 LIB += $(XLDARG) -lz
393 endif
394
395 #### These libraries MUST appear in the same order as they do for Tcl
396 # or linking with it will not work (exact reason unknown).
397 #
398 ifdef FOSSIL_ENABLE_TCL
399 ifdef FOSSIL_ENABLE_TCL_STUBS
400 LIB += $(XLDARG) -lkernel32 $(XLDARG) -lws2_32
401 else
402 LIB += $(XLDARG) -lnetapi32 $(XLDARG) -lkernel32
403 LIB += $(XLDARG) -luser32 $(XLDARG) -ladvapi32
404 LIB += $(XLDARG) -lws2_32
405 endif
406 else
407 LIB += $(XLDARG) -lkernel32 $(XLDARG) -lws2_32
408 endif
409
410 #### Tcl shell for use in running the fossil test suite. This is only
411 # used for testing.
412 #
@@ -973,14 +980,14 @@
980 $(OBJDIR)/th_tcl.o \
981 $(OBJDIR)/cson_amalgamation.o
982
983
984 zlib:
985 $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) CC=$(PREFIX)$(TCCEXE) $(ZLIBCONFIG) -f win32/Makefile.gcc libz.a
986
987 clean-zlib:
988 $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) CC=$(PREFIX)$(TCCEXE) -f win32/Makefile.gcc clean
989
990 $(ZLIBDIR)/inffas86.o:
991 $(TCC) -c -o $@ -DASMINF -I$(ZLIBDIR) -O3 $(ZLIBDIR)/contrib/inflate86/inffas86.c
992
993 $(ZLIBDIR)/match.o:
994
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -203,17 +203,22 @@
203203
204204
#### Tcl: Which Tcl library do we want to use (8.4, 8.5, 8.6, etc)?
205205
#
206206
ifdef FOSSIL_ENABLE_TCL_STUBS
207207
ifndef FOSSIL_ENABLE_TCL_PRIVATE_STUBS
208
-LIBTCL = -ltclstub86
208
+LIBTCL = $(XLDARG) -ltclstub86
209209
endif
210210
TCLTARGET = libtclstub86.a
211211
else
212
-LIBTCL = -ltcl86
212
+LIBTCL = $(XLDARG) -ltcl86
213213
TCLTARGET = binaries
214214
endif
215
+
216
+#### The prefix for all arguments that should be passed to the linker.
217
+# GCC does not need this; however, other compilers may.
218
+#
219
+XLDARG =
215220
216221
#### C compiler for use in building executables that will run on the
217222
# target platform. This is usually the same as BCCEXE, unless you
218223
# are cross-compiling. This C compiler builds the finished binary
219224
# for fossil. See BCC and BCCEXE above for the C compiler for
@@ -239,11 +244,11 @@
239244
endif
240245
241246
#### When not using the miniz compression library, zlib is required.
242247
#
243248
ifndef FOSSIL_ENABLE_MINIZ
244
-TCC += -L$(ZLIBDIR) -I$(ZINCDIR)
249
+TCC += $(XLDARG) -L$(ZLIBDIR) -I$(ZINCDIR)
245250
endif
246251
247252
#### Compile resources for use in building executables that will run
248253
# on the target platform.
249254
#
@@ -253,21 +258,21 @@
253258
RCC += -I$(ZINCDIR)
254259
endif
255260
256261
# With HTTPS support
257262
ifdef FOSSIL_ENABLE_SSL
258
-TCC += -L$(OPENSSLLIBDIR) -I$(OPENSSLINCDIR)
263
+TCC += $(XLDARG) -L$(OPENSSLLIBDIR) -I$(OPENSSLINCDIR)
259264
RCC += -I$(OPENSSLINCDIR)
260265
endif
261266
262267
# With Tcl support
263268
ifdef FOSSIL_ENABLE_TCL
264269
ifdef FOSSIL_TCL_SOURCE
265
-TCC += -L$(TCLSRCDIR)/win -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
270
+TCC += $(XLDARG) -L$(TCLSRCDIR)/win -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
266271
RCC += -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
267272
else
268
-TCC += -L$(TCLLIBDIR) -I$(TCLINCDIR)
273
+TCC += $(XLDARG) -L$(TCLLIBDIR) -I$(TCLINCDIR)
269274
RCC += -I$(TCLINCDIR)
270275
endif
271276
endif
272277
273278
# With miniz (i.e. instead of zlib)
@@ -358,17 +363,17 @@
358363
endif
359364
360365
#### SQLite: If enabled, use the system SQLite library.
361366
#
362367
ifdef USE_SYSTEM_SQLITE
363
-LIB += -lsqlite3
368
+LIB += $(XLDARG) -lsqlite3
364369
endif
365370
366371
#### OpenSSL: Add the necessary libraries required, if enabled.
367372
#
368373
ifdef FOSSIL_ENABLE_SSL
369
-LIB += -lssl -lcrypto -lgdi32
374
+LIB += $(XLDARG) -lssl $(XLDARG) -lcrypto $(XLDARG) -lgdi32
370375
endif
371376
372377
#### Tcl: Add the necessary libraries required, if enabled.
373378
#
374379
ifdef FOSSIL_ENABLE_TCL
@@ -377,29 +382,31 @@
377382
378383
#### Extra arguments for linking the finished binary. Fossil needs
379384
# to link against the Z-Lib compression library. There are no
380385
# other mandatory dependencies.
381386
#
382
-LIB += -lmingwex
387
+LIB += $(XLDARG) -lmingwex
383388
384389
#### When not using the miniz compression library, zlib is required.
385390
#
386391
ifndef FOSSIL_ENABLE_MINIZ
387
-LIB += -lz
392
+LIB += $(XLDARG) -lz
388393
endif
389394
390395
#### These libraries MUST appear in the same order as they do for Tcl
391396
# or linking with it will not work (exact reason unknown).
392397
#
393398
ifdef FOSSIL_ENABLE_TCL
394399
ifdef FOSSIL_ENABLE_TCL_STUBS
395
-LIB += -lkernel32 -lws2_32
400
+LIB += $(XLDARG) -lkernel32 $(XLDARG) -lws2_32
396401
else
397
-LIB += -lnetapi32 -lkernel32 -luser32 -ladvapi32 -lws2_32
402
+LIB += $(XLDARG) -lnetapi32 $(XLDARG) -lkernel32
403
+LIB += $(XLDARG) -luser32 $(XLDARG) -ladvapi32
404
+LIB += $(XLDARG) -lws2_32
398405
endif
399406
else
400
-LIB += -lkernel32 -lws2_32
407
+LIB += $(XLDARG) -lkernel32 $(XLDARG) -lws2_32
401408
endif
402409
403410
#### Tcl shell for use in running the fossil test suite. This is only
404411
# used for testing.
405412
#
@@ -973,14 +980,14 @@
973980
$(OBJDIR)/th_tcl.o \
974981
$(OBJDIR)/cson_amalgamation.o
975982
976983
977984
zlib:
978
- $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) $(ZLIBCONFIG) -f win32/Makefile.gcc libz.a
985
+ $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) CC=$(PREFIX)$(TCCEXE) $(ZLIBCONFIG) -f win32/Makefile.gcc libz.a
979986
980987
clean-zlib:
981
- $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) -f win32/Makefile.gcc clean
988
+ $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) CC=$(PREFIX)$(TCCEXE) -f win32/Makefile.gcc clean
982989
983990
$(ZLIBDIR)/inffas86.o:
984991
$(TCC) -c -o $@ -DASMINF -I$(ZLIBDIR) -O3 $(ZLIBDIR)/contrib/inflate86/inffas86.c
985992
986993
$(ZLIBDIR)/match.o:
@@ -2136,11 +2143,11 @@
21362143
-DSQLITE_ENABLE_FTS3_PARENTHESIS \
21372144
-DSQLITE_ENABLE_DBSTAT_VTAB \
21382145
-DSQLITE_ENABLE_JSON1 \
21392146
-DSQLITE_ENABLE_FTS5 \
21402147
-DSQLITE_WIN32_NO_ANSI \
2141
- -D_HAVE__MINGW_H \
2148
+ $(MINGW_OPTIONS) \
21422149
-DSQLITE_USE_MALLOC_H \
21432150
-DSQLITE_USE_MSIZE
21442151
21452152
SHELL_OPTIONS = -Dmain=sqlite3_shell \
21462153
-DSQLITE_SHELL_IS_UTF8=1 \
21472154
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -203,17 +203,22 @@
203
204 #### Tcl: Which Tcl library do we want to use (8.4, 8.5, 8.6, etc)?
205 #
206 ifdef FOSSIL_ENABLE_TCL_STUBS
207 ifndef FOSSIL_ENABLE_TCL_PRIVATE_STUBS
208 LIBTCL = -ltclstub86
209 endif
210 TCLTARGET = libtclstub86.a
211 else
212 LIBTCL = -ltcl86
213 TCLTARGET = binaries
214 endif
 
 
 
 
 
215
216 #### C compiler for use in building executables that will run on the
217 # target platform. This is usually the same as BCCEXE, unless you
218 # are cross-compiling. This C compiler builds the finished binary
219 # for fossil. See BCC and BCCEXE above for the C compiler for
@@ -239,11 +244,11 @@
239 endif
240
241 #### When not using the miniz compression library, zlib is required.
242 #
243 ifndef FOSSIL_ENABLE_MINIZ
244 TCC += -L$(ZLIBDIR) -I$(ZINCDIR)
245 endif
246
247 #### Compile resources for use in building executables that will run
248 # on the target platform.
249 #
@@ -253,21 +258,21 @@
253 RCC += -I$(ZINCDIR)
254 endif
255
256 # With HTTPS support
257 ifdef FOSSIL_ENABLE_SSL
258 TCC += -L$(OPENSSLLIBDIR) -I$(OPENSSLINCDIR)
259 RCC += -I$(OPENSSLINCDIR)
260 endif
261
262 # With Tcl support
263 ifdef FOSSIL_ENABLE_TCL
264 ifdef FOSSIL_TCL_SOURCE
265 TCC += -L$(TCLSRCDIR)/win -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
266 RCC += -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
267 else
268 TCC += -L$(TCLLIBDIR) -I$(TCLINCDIR)
269 RCC += -I$(TCLINCDIR)
270 endif
271 endif
272
273 # With miniz (i.e. instead of zlib)
@@ -358,17 +363,17 @@
358 endif
359
360 #### SQLite: If enabled, use the system SQLite library.
361 #
362 ifdef USE_SYSTEM_SQLITE
363 LIB += -lsqlite3
364 endif
365
366 #### OpenSSL: Add the necessary libraries required, if enabled.
367 #
368 ifdef FOSSIL_ENABLE_SSL
369 LIB += -lssl -lcrypto -lgdi32
370 endif
371
372 #### Tcl: Add the necessary libraries required, if enabled.
373 #
374 ifdef FOSSIL_ENABLE_TCL
@@ -377,29 +382,31 @@
377
378 #### Extra arguments for linking the finished binary. Fossil needs
379 # to link against the Z-Lib compression library. There are no
380 # other mandatory dependencies.
381 #
382 LIB += -lmingwex
383
384 #### When not using the miniz compression library, zlib is required.
385 #
386 ifndef FOSSIL_ENABLE_MINIZ
387 LIB += -lz
388 endif
389
390 #### These libraries MUST appear in the same order as they do for Tcl
391 # or linking with it will not work (exact reason unknown).
392 #
393 ifdef FOSSIL_ENABLE_TCL
394 ifdef FOSSIL_ENABLE_TCL_STUBS
395 LIB += -lkernel32 -lws2_32
396 else
397 LIB += -lnetapi32 -lkernel32 -luser32 -ladvapi32 -lws2_32
 
 
398 endif
399 else
400 LIB += -lkernel32 -lws2_32
401 endif
402
403 #### Tcl shell for use in running the fossil test suite. This is only
404 # used for testing.
405 #
@@ -973,14 +980,14 @@
973 $(OBJDIR)/th_tcl.o \
974 $(OBJDIR)/cson_amalgamation.o
975
976
977 zlib:
978 $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) $(ZLIBCONFIG) -f win32/Makefile.gcc libz.a
979
980 clean-zlib:
981 $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) -f win32/Makefile.gcc clean
982
983 $(ZLIBDIR)/inffas86.o:
984 $(TCC) -c -o $@ -DASMINF -I$(ZLIBDIR) -O3 $(ZLIBDIR)/contrib/inflate86/inffas86.c
985
986 $(ZLIBDIR)/match.o:
@@ -2136,11 +2143,11 @@
2136 -DSQLITE_ENABLE_FTS3_PARENTHESIS \
2137 -DSQLITE_ENABLE_DBSTAT_VTAB \
2138 -DSQLITE_ENABLE_JSON1 \
2139 -DSQLITE_ENABLE_FTS5 \
2140 -DSQLITE_WIN32_NO_ANSI \
2141 -D_HAVE__MINGW_H \
2142 -DSQLITE_USE_MALLOC_H \
2143 -DSQLITE_USE_MSIZE
2144
2145 SHELL_OPTIONS = -Dmain=sqlite3_shell \
2146 -DSQLITE_SHELL_IS_UTF8=1 \
2147
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -203,17 +203,22 @@
203
204 #### Tcl: Which Tcl library do we want to use (8.4, 8.5, 8.6, etc)?
205 #
206 ifdef FOSSIL_ENABLE_TCL_STUBS
207 ifndef FOSSIL_ENABLE_TCL_PRIVATE_STUBS
208 LIBTCL = $(XLDARG) -ltclstub86
209 endif
210 TCLTARGET = libtclstub86.a
211 else
212 LIBTCL = $(XLDARG) -ltcl86
213 TCLTARGET = binaries
214 endif
215
216 #### The prefix for all arguments that should be passed to the linker.
217 # GCC does not need this; however, other compilers may.
218 #
219 XLDARG =
220
221 #### C compiler for use in building executables that will run on the
222 # target platform. This is usually the same as BCCEXE, unless you
223 # are cross-compiling. This C compiler builds the finished binary
224 # for fossil. See BCC and BCCEXE above for the C compiler for
@@ -239,11 +244,11 @@
244 endif
245
246 #### When not using the miniz compression library, zlib is required.
247 #
248 ifndef FOSSIL_ENABLE_MINIZ
249 TCC += $(XLDARG) -L$(ZLIBDIR) -I$(ZINCDIR)
250 endif
251
252 #### Compile resources for use in building executables that will run
253 # on the target platform.
254 #
@@ -253,21 +258,21 @@
258 RCC += -I$(ZINCDIR)
259 endif
260
261 # With HTTPS support
262 ifdef FOSSIL_ENABLE_SSL
263 TCC += $(XLDARG) -L$(OPENSSLLIBDIR) -I$(OPENSSLINCDIR)
264 RCC += -I$(OPENSSLINCDIR)
265 endif
266
267 # With Tcl support
268 ifdef FOSSIL_ENABLE_TCL
269 ifdef FOSSIL_TCL_SOURCE
270 TCC += $(XLDARG) -L$(TCLSRCDIR)/win -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
271 RCC += -I$(TCLSRCDIR)/generic -I$(TCLSRCDIR)/win
272 else
273 TCC += $(XLDARG) -L$(TCLLIBDIR) -I$(TCLINCDIR)
274 RCC += -I$(TCLINCDIR)
275 endif
276 endif
277
278 # With miniz (i.e. instead of zlib)
@@ -358,17 +363,17 @@
363 endif
364
365 #### SQLite: If enabled, use the system SQLite library.
366 #
367 ifdef USE_SYSTEM_SQLITE
368 LIB += $(XLDARG) -lsqlite3
369 endif
370
371 #### OpenSSL: Add the necessary libraries required, if enabled.
372 #
373 ifdef FOSSIL_ENABLE_SSL
374 LIB += $(XLDARG) -lssl $(XLDARG) -lcrypto $(XLDARG) -lgdi32
375 endif
376
377 #### Tcl: Add the necessary libraries required, if enabled.
378 #
379 ifdef FOSSIL_ENABLE_TCL
@@ -377,29 +382,31 @@
382
383 #### Extra arguments for linking the finished binary. Fossil needs
384 # to link against the Z-Lib compression library. There are no
385 # other mandatory dependencies.
386 #
387 LIB += $(XLDARG) -lmingwex
388
389 #### When not using the miniz compression library, zlib is required.
390 #
391 ifndef FOSSIL_ENABLE_MINIZ
392 LIB += $(XLDARG) -lz
393 endif
394
395 #### These libraries MUST appear in the same order as they do for Tcl
396 # or linking with it will not work (exact reason unknown).
397 #
398 ifdef FOSSIL_ENABLE_TCL
399 ifdef FOSSIL_ENABLE_TCL_STUBS
400 LIB += $(XLDARG) -lkernel32 $(XLDARG) -lws2_32
401 else
402 LIB += $(XLDARG) -lnetapi32 $(XLDARG) -lkernel32
403 LIB += $(XLDARG) -luser32 $(XLDARG) -ladvapi32
404 LIB += $(XLDARG) -lws2_32
405 endif
406 else
407 LIB += $(XLDARG) -lkernel32 $(XLDARG) -lws2_32
408 endif
409
410 #### Tcl shell for use in running the fossil test suite. This is only
411 # used for testing.
412 #
@@ -973,14 +980,14 @@
980 $(OBJDIR)/th_tcl.o \
981 $(OBJDIR)/cson_amalgamation.o
982
983
984 zlib:
985 $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) CC=$(PREFIX)$(TCCEXE) $(ZLIBCONFIG) -f win32/Makefile.gcc libz.a
986
987 clean-zlib:
988 $(MAKE) -C $(ZLIBDIR) PREFIX=$(PREFIX) CC=$(PREFIX)$(TCCEXE) -f win32/Makefile.gcc clean
989
990 $(ZLIBDIR)/inffas86.o:
991 $(TCC) -c -o $@ -DASMINF -I$(ZLIBDIR) -O3 $(ZLIBDIR)/contrib/inflate86/inffas86.c
992
993 $(ZLIBDIR)/match.o:
@@ -2136,11 +2143,11 @@
2143 -DSQLITE_ENABLE_FTS3_PARENTHESIS \
2144 -DSQLITE_ENABLE_DBSTAT_VTAB \
2145 -DSQLITE_ENABLE_JSON1 \
2146 -DSQLITE_ENABLE_FTS5 \
2147 -DSQLITE_WIN32_NO_ANSI \
2148 $(MINGW_OPTIONS) \
2149 -DSQLITE_USE_MALLOC_H \
2150 -DSQLITE_USE_MSIZE
2151
2152 SHELL_OPTIONS = -Dmain=sqlite3_shell \
2153 -DSQLITE_SHELL_IS_UTF8=1 \
2154

Keyboard Shortcuts

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