mirror of
https://github.com/lz4/lz4.git
synced 2024-11-23 18:04:05 +08:00
adjust appveyor windows test
CFLAGS must be set becore execution
This commit is contained in:
parent
e760561c8a
commit
1ec11b1b91
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user