Updated OpenSSL library to version 1.1.1p.
This commit is contained in:
parent
ac67ca9b59
commit
995d3a3042
4
Makefile
4
Makefile
@ -8,7 +8,7 @@ MACHINE := $(shell gcc -dumpmachine)
|
|||||||
ifeq ($(MACHINE),$(filter x86_64-%,$(MACHINE)))
|
ifeq ($(MACHINE),$(filter x86_64-%,$(MACHINE)))
|
||||||
MYCPU := x64
|
MYCPU := x64
|
||||||
MARCH := x86-64
|
MARCH := x86-64
|
||||||
MTUNE := corei7
|
MTUNE := znver3
|
||||||
else
|
else
|
||||||
MYCPU := x86
|
MYCPU := x86
|
||||||
MARCH := i486
|
MARCH := i486
|
||||||
@ -16,7 +16,7 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
CFLAGS = -march=$(MARCH) -mtune=$(MTUNE) -Os -DNDEBUG -Wall -flto -Ideps/$(MYCPU)/include
|
CFLAGS = -march=$(MARCH) -mtune=$(MTUNE) -Os -DNDEBUG -Wall -flto -Ideps/$(MYCPU)/include
|
||||||
LDFLAGS = -Ldeps/$(MYCPU)/lib -static -Wl,--strip-all
|
LDFLAGS = -Ldeps/$(MYCPU)/lib -static -Wl,--strip-all -Wl,--trace
|
||||||
LIBS = -lcrypto
|
LIBS = -lcrypto
|
||||||
|
|
||||||
ifeq ($(MACHINE),$(filter %-mingw32,$(MACHINE)))
|
ifeq ($(MACHINE),$(filter %-mingw32,$(MACHINE)))
|
||||||
|
4
deps/build-openssl-linux.sh
vendored
4
deps/build-openssl-linux.sh
vendored
@ -15,7 +15,7 @@ case "$(cc -dumpmachine)" in
|
|||||||
x86_64-*)
|
x86_64-*)
|
||||||
readonly MY_CPU=x64
|
readonly MY_CPU=x64
|
||||||
readonly MY_MARCH=x86-64
|
readonly MY_MARCH=x86-64
|
||||||
readonly MY_MTUNE=corei7
|
readonly MY_MTUNE=znver3
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown compiler detected!";
|
echo "Unknown compiler detected!";
|
||||||
@ -35,7 +35,7 @@ rm -rf "${LIBS_DIR}" && mkdir -p "${LIBS_DIR}/bin" "${LIBS_DIR}/include" "${LIBS
|
|||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
# Fetch sources
|
# Fetch sources
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
wget -4 -O "${LIBS_DIR}/openssl.tar.gz" https://www.openssl.org/source/openssl-1.1.1k.tar.gz
|
wget -4 -O "${LIBS_DIR}/openssl.tar.gz" https://www.openssl.org/source/openssl-1.1.1p.tar.gz
|
||||||
tar -xvf "${LIBS_DIR}/openssl.tar.gz" --strip-components=1 -C "${OSSL_DIR}"
|
tar -xvf "${LIBS_DIR}/openssl.tar.gz" --strip-components=1 -C "${OSSL_DIR}"
|
||||||
|
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
4
deps/build-openssl-mingw.sh
vendored
4
deps/build-openssl-mingw.sh
vendored
@ -15,7 +15,7 @@ case "$(cc -dumpmachine)" in
|
|||||||
x86_64-*)
|
x86_64-*)
|
||||||
readonly MY_CPU=x64
|
readonly MY_CPU=x64
|
||||||
readonly MY_MARCH=x86-64
|
readonly MY_MARCH=x86-64
|
||||||
readonly MY_MTUNE=corei7
|
readonly MY_MTUNE=znver3
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown compiler detected!";
|
echo "Unknown compiler detected!";
|
||||||
@ -35,7 +35,7 @@ rm -rf "${LIBS_DIR}" && mkdir -p "${LIBS_DIR}/bin" "${LIBS_DIR}/include" "${LIBS
|
|||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
# Fetch sources
|
# Fetch sources
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
wget -4 -O "${LIBS_DIR}/openssl.tar.gz" https://www.openssl.org/source/openssl-1.1.1k.tar.gz
|
wget -4 -O "${LIBS_DIR}/openssl.tar.gz" https://www.openssl.org/source/openssl-1.1.1p.tar.gz
|
||||||
tar -xvf "${LIBS_DIR}/openssl.tar.gz" --strip-components=1 -C "${OSSL_DIR}"
|
tar -xvf "${LIBS_DIR}/openssl.tar.gz" --strip-components=1 -C "${OSSL_DIR}"
|
||||||
|
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
Loading…
Reference in New Issue
Block a user