Updated OpenSSL library to version 1.1.1p.

This commit is contained in:
LoRd_MuldeR 2022-06-27 20:15:48 +02:00
parent ac67ca9b59
commit 995d3a3042
3 changed files with 6 additions and 6 deletions

View File

@ -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)))

View File

@ -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}"
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -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}"
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~