#3722: Disable GZIP in native compress library (no longer requires PCLMUL)

This commit is contained in:
lax1dude
2024-08-09 19:07:38 +10:00
committed by md_5
parent 6b612302e1
commit cd56fb32c2
3 changed files with 4 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ echo "Compiling mbedtls"
(cd mbedtls && CFLAGS="-fPIC -I$CWD/src/main/c -DMBEDTLS_USER_CONFIG_FILE='<mbedtls_custom_config.h>'" make no_test)
echo "Compiling zlib"
(cd zlib && CFLAGS=-fPIC ./configure --static && make)
(cd zlib && CFLAGS="-fPIC -DNO_GZIP" ./configure --static && make)
CC="gcc"
CFLAGS="-c -fPIC -O3 -Wall -Werror -I$JAVA_HOME/include/ -I$JAVA_HOME/include/linux/"