added c89 build test to CI

This commit is contained in:
Yann Collet
2023-01-19 14:59:30 -08:00
parent bce0382c82
commit ea684c335a
8 changed files with 87 additions and 43 deletions
+1 -1
View File
@@ -404,7 +404,7 @@ cmakebuild:
c89build: clean
$(CC) -v
CFLAGS="-std=c89 -Werror -O0" $(MAKE) allmost # will fail, due to missing support for `long long`
CFLAGS="-std=c89 -Werror -Wno-attributes -Wpedantic -Wno-long-long -Wno-variadic-macros -O0" $(MAKE) lib zstd
gnu90build: clean
$(CC) -v