Update with latest mingw-w64-crt

This commit is contained in:
pingplug 2019-12-01 12:25:39 +08:00
parent a7dc5897f1
commit 43115613bd
2 changed files with 5 additions and 3 deletions

View file

@ -1,7 +1,7 @@
pkgbase = mingw-w64-openssl
pkgdesc = The Open Source toolkit for Secure Sockets Layer and Transport Layer Security (mingw-w64)
pkgver = 1.1.1.d
pkgrel = 1
pkgrel = 2
url = https://www.openssl.org
arch = any
license = BSD

View file

@ -8,7 +8,7 @@ _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
pkgname=mingw-w64-openssl
pkgver=${_pkgver/[a-z]/.${_pkgver//[0-9.]/}}
pkgrel=1
pkgrel=2
pkgdesc="The Open Source toolkit for Secure Sockets Layer and Transport Layer Security (mingw-w64)"
arch=('any')
url="https://www.openssl.org"
@ -29,7 +29,9 @@ prepare() {
}
build() {
export CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4"
export CPPFLAGS="-D_FORTIFY_SOURCE=2"
export CFLAGS="-O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4"
export LDFLAGS="-Wl,-O1,--sort-common,--as-needed -fstack-protector -lssp"
cd "${srcdir}/openssl-${_pkgver}"
for _arch in ${_architectures}; do