13
0
geforkt von Mirrors/Velocity

Recompile natives for Linux x86_64

Debian 9 was used to compile the libdeflate native and OpenSSL 1.1.x crypto, CentOS for OpenSSL 1.0.x crypto only.
Dieser Commit ist enthalten in:
Andrew Steinborn 2020-10-27 01:44:14 -04:00
Ursprung 4ca996098c
Commit 0f919d7163
4 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -13,10 +13,10 @@ fi
echo "Compiling libdeflate..." echo "Compiling libdeflate..."
cd libdeflate || exit cd libdeflate || exit
CFLAGS="-fPIC -O2" make CFLAGS="-fPIC -O2 -fomit-frame-pointer" make
cd .. cd ..
CFLAGS="-O2 -I$JAVA_HOME/include/ -I$JAVA_HOME/include/linux/ -fPIC -shared -Wl,-z,noexecstack -Wall -Werror" CFLAGS="-O2 -I$JAVA_HOME/include/ -I$JAVA_HOME/include/linux/ -fPIC -shared -Wl,-z,noexecstack -Wall -Werror -fomit-frame-pointer"
ARCH=$(uname -m) ARCH=$(uname -m)
mkdir -p src/main/resources/linux_$ARCH mkdir -p src/main/resources/linux_$ARCH
$CC $CFLAGS -Ilibdeflate src/main/c/jni_util.c src/main/c/jni_zlib_deflate.c src/main/c/jni_zlib_inflate.c \ $CC $CFLAGS -Ilibdeflate src/main/c/jni_util.c src/main/c/jni_zlib_deflate.c src/main/c/jni_zlib_inflate.c \