diff options
author | Martchus | 2019-11-12 17:30:48 +0100 |
---|---|---|
committer | Martchus | 2019-11-12 17:30:48 +0100 |
commit | 47adbf49f5a96ce972c2d3160dc97da4b49c9cad (patch) | |
tree | ddbae33951395ad940561848844bb51a1d2bf251 | |
parent | b53ba3dc25e702a6be1df2c5a770964195918174 (diff) | |
download | aur-47adbf49f5a96ce972c2d3160dc97da4b49c9cad.tar.gz |
Fix flags for mingw-w64 7.0.0
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = mingw-w64-qt5-base-angle pkgdesc = A cross-platform application and UI framework (mingw-w64) pkgver = 5.13.2 - pkgrel = 1 + pkgrel = 2 url = https://www.qt.io/ arch = i686 arch = x86_64 @@ -33,7 +33,7 @@ isNoOpenGL() { pkgname=mingw-w64-qt5-base-angle pkgver=5.13.2 -pkgrel=1 +pkgrel=2 pkgdesc='A cross-platform application and UI framework (mingw-w64)' # The static variant doesn't contain any executables which need to be executed on the build machine isStatic && arch=('any') || arch=('i686' 'x86_64') @@ -157,7 +157,7 @@ prepare() { CPPFLAGS="${MINGW_CPPFLAGS:--D_FORTIFY_SOURCE=2}" CFLAGS="${MINGW_CFLAGS:-$CPPFLAGS -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4}" CXXFLAGS="${MINGW_CXXFLAGS:-$CPPFLAGS -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4}" - LDFLAGS="${MINGW_LDFLAGS:--Wl,-O1,--sort-common,--as-needed}" + LDFLAGS="${MINGW_LDFLAGS:--Wl,-O1,--sort-common,--as-needed -fstack-protector}" sed -i -e "s|^\(QMAKE_CFLAGS_RELEASE.*=\).*$|\1 ${CFLAGS}|" \ -e "s|^\(QMAKE_CXXFLAGS_RELEASE.*=\).*$|\1 ${CXXFLAGS}|" \ -e "s|^\(QMAKE_LFLAGS_RELEASE.*=\).*$|\1 ${LDFLAGS}|" \ |