Fossil SCM

A little bit smarter determination of the need for -DBROKEN_MINGW_CMDLINE

jan.nijtmans 2012-12-10 19:35 trunk
Commit 0e5c128047f8039cd6c627565a6632b9b60cf8fa
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -401,11 +401,11 @@
401401
402402
#### Check if the workaround for the MinGW command line handling needs to
403403
# be enabled by default.
404404
#
405405
ifndef BROKEN_MINGW_CMDLINE
406
-ifeq ($(PREFIX),)
406
+ifeq (,$(findstring w64-mingw32,$(PREFIX)))
407407
BROKEN_MINGW_CMDLINE = 1
408408
endif
409409
endif
410410
411411
#### The directories where the zlib include and library files are located.
412412
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -401,11 +401,11 @@
401
402 #### Check if the workaround for the MinGW command line handling needs to
403 # be enabled by default.
404 #
405 ifndef BROKEN_MINGW_CMDLINE
406 ifeq ($(PREFIX),)
407 BROKEN_MINGW_CMDLINE = 1
408 endif
409 endif
410
411 #### The directories where the zlib include and library files are located.
412
--- src/makemake.tcl
+++ src/makemake.tcl
@@ -401,11 +401,11 @@
401
402 #### Check if the workaround for the MinGW command line handling needs to
403 # be enabled by default.
404 #
405 ifndef BROKEN_MINGW_CMDLINE
406 ifeq (,$(findstring w64-mingw32,$(PREFIX)))
407 BROKEN_MINGW_CMDLINE = 1
408 endif
409 endif
410
411 #### The directories where the zlib include and library files are located.
412
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -69,11 +69,11 @@
6969
7070
#### Check if the workaround for the MinGW command line handling needs to
7171
# be enabled by default.
7272
#
7373
ifndef BROKEN_MINGW_CMDLINE
74
-ifeq ($(PREFIX),)
74
+ifeq (,$(findstring w64-mingw32,$(PREFIX)))
7575
BROKEN_MINGW_CMDLINE = 1
7676
endif
7777
endif
7878
7979
#### The directories where the zlib include and library files are located.
8080
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -69,11 +69,11 @@
69
70 #### Check if the workaround for the MinGW command line handling needs to
71 # be enabled by default.
72 #
73 ifndef BROKEN_MINGW_CMDLINE
74 ifeq ($(PREFIX),)
75 BROKEN_MINGW_CMDLINE = 1
76 endif
77 endif
78
79 #### The directories where the zlib include and library files are located.
80
--- win/Makefile.mingw
+++ win/Makefile.mingw
@@ -69,11 +69,11 @@
69
70 #### Check if the workaround for the MinGW command line handling needs to
71 # be enabled by default.
72 #
73 ifndef BROKEN_MINGW_CMDLINE
74 ifeq (,$(findstring w64-mingw32,$(PREFIX)))
75 BROKEN_MINGW_CMDLINE = 1
76 endif
77 endif
78
79 #### The directories where the zlib include and library files are located.
80
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -69,11 +69,11 @@
6969
7070
#### Check if the workaround for the MinGW command line handling needs to
7171
# be enabled by default.
7272
#
7373
ifndef BROKEN_MINGW_CMDLINE
74
-ifeq ($(PREFIX),)
74
+ifeq (,$(findstring w64-mingw32,$(PREFIX)))
7575
BROKEN_MINGW_CMDLINE = 1
7676
endif
7777
endif
7878
7979
#### The directories where the zlib include and library files are located.
8080
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -69,11 +69,11 @@
69
70 #### Check if the workaround for the MinGW command line handling needs to
71 # be enabled by default.
72 #
73 ifndef BROKEN_MINGW_CMDLINE
74 ifeq ($(PREFIX),)
75 BROKEN_MINGW_CMDLINE = 1
76 endif
77 endif
78
79 #### The directories where the zlib include and library files are located.
80
--- win/Makefile.mingw.mistachkin
+++ win/Makefile.mingw.mistachkin
@@ -69,11 +69,11 @@
69
70 #### Check if the workaround for the MinGW command line handling needs to
71 # be enabled by default.
72 #
73 ifndef BROKEN_MINGW_CMDLINE
74 ifeq (,$(findstring w64-mingw32,$(PREFIX)))
75 BROKEN_MINGW_CMDLINE = 1
76 endif
77 endif
78
79 #### The directories where the zlib include and library files are located.
80

Keyboard Shortcuts

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