diff options
author | David Goulet <dgoulet@torproject.org> | 2020-07-07 09:20:28 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2020-07-07 09:53:54 -0400 |
commit | d9cc2b2928eab045f89d0abf95a9e5c75e290ff8 (patch) | |
tree | 85810de918732ecbbe6e4409bf2ee6e8f7275f5c /.appveyor.yml | |
parent | 39830b6408f8a720ce71ccb6b853663c6e6047e9 (diff) | |
download | tor-d9cc2b2928eab045f89d0abf95a9e5c75e290ff8.tar.gz tor-d9cc2b2928eab045f89d0abf95a9e5c75e290ff8.zip |
CI: Fix Appveyor printf format error
For some reasons, Appveyor started to use the stdio printf format for 64 bit
values (PRIu64, ...). Mingw doesn't like that so force it to use the Windows
specific macros by setting D__USE_MINGW_ANSI_STDIO=0.
Fixes #40026
Diffstat (limited to '.appveyor.yml')
-rw-r--r-- | .appveyor.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 461eacb4a9..03cf2f69f6 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -87,7 +87,7 @@ build_script: # mingw zstd doesn't come with a pkg-config file, so we manually # configure its flags. liblzma just works. #> - Execute-Bash "ZSTD_CFLAGS='-L/${env:compiler_path}/include' ZSTD_LIBS='-L/${env:compiler_path}/lib -lzstd' ../configure --prefix=/${env:compiler_path} --build=${env:target} --host=${env:target} --with-openssl-dir=/${env:compiler_path} --disable-asciidoc --enable-fatal-warnings ${env:hardening}" + Execute-Bash "ZSTD_CFLAGS='-L/${env:compiler_path}/include' ZSTD_LIBS='-L/${env:compiler_path}/lib -lzstd' ../configure --prefix=/${env:compiler_path} --build=${env:target} --host=${env:target} --with-openssl-dir=/${env:compiler_path} --disable-asciidoc --enable-fatal-warnings ${env:hardening} CFLAGS='-D__USE_MINGW_ANSI_STDIO=0'" Execute-Bash "V=1 make -k -j2" Execute-Bash "V=1 make -k -j2 install" } |