From 1ec11b1b91f14a308a23bcc0582166db21f22fdb Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 22 Dec 2023 00:43:37 -0800 Subject: [PATCH] adjust appveyor windows test CFLAGS must be set becore execution --- appveyor.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index a0079507..989581d1 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -55,10 +55,11 @@ build_script: clang -v && make -v && echo ----- && - make -C programs lz4 CC=clang CFLAGS="-O1 --target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" && - make -C tests fullbench CC=clang CFLAGS="-O1 --target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" && - make -C tests fuzzer CC=clang CFLAGS="-O1 --target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" && - make -C lib lib CC=clang CFLAGS="-O1 --target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" + set CFLAGS="--target=x86_64-w64-mingw32 -Werror -Wconversion -Wno-sign-conversion" && + make -C programs lz4 CC=clang && + make -C tests fullbench CC=clang && + make -C tests fuzzer CC=clang && + make -C lib lib CC=clang ) - if [%COMPILER%]==[gcc] ( MKDIR bin\dll bin\static bin\example bin\include &&