aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2020-03-05 09:08:34 +1000
committerSteve Bennett <steveb@workware.net.au>2020-03-05 22:38:34 +1000
commitbd7037fdd108729999cfb32a1304abd0eec1d1ad (patch)
tree17249b496cbcbe72d6e8238ddca83aed054f0810 /appveyor.yml
parent2e8d9d5014cac46b9486a88307436f74a7a3784c (diff)
downloadjimtcl-bd7037fdd108729999cfb32a1304abd0eec1d1ad.zip
jimtcl-bd7037fdd108729999cfb32a1304abd0eec1d1ad.tar.gz
jimtcl-bd7037fdd108729999cfb32a1304abd0eec1d1ad.tar.bz2
build: Check for 32-bit time_t at configure time
To warn of Y2038 problems, and suggest use of -D__MINGW_USE_VC2005_COMPAT on mingw32. Do this instead of the previous runtime test. Add -D__MINGW_USE_VC2005_COMPAT to the appveyor build. Fixes msteveb/jimtcl#145 Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/appveyor.yml b/appveyor.yml
index c0c47f9..a3cac63 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -1,10 +1,10 @@
-version: "0.78.0.{build}"
+version: "0.79.0.{build}"
install:
- cmd: set MSYSTEM=MINGW32
- cmd: C:\msys64\usr\bin\bash -lc "pacman --sync --noconfirm make mingw-w64-i686-gcc mingw-w64-i686-sqlite3"
- cmd: cd C:\projects & mklink /D %APPVEYOR_PROJECT_NAME% %APPVEYOR_PROJECT_SLUG% & exit 0
build_script:
- - cmd: C:\msys64\usr\bin\bash -lc "cd /c/projects/jimtcl; ./configure --full --ssl --with-ext='sqlite3 win32 zlib' --disable-docs"
+ - cmd: C:\msys64\usr\bin\bash -lc "cd /c/projects/jimtcl; ./configure --full --ssl --with-ext='sqlite3 win32 zlib' --disable-docs CFLAGS=-D__MINGW_USE_VC2005_COMPAT"
- cmd: C:\msys64\usr\bin\bash -lc "cd /c/projects/jimtcl; make"
test_script:
- cmd: C:\msys64\usr\bin\bash -lc "cd /c/projects/jimtcl; make test"