summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2019-11-14 07:26:06 +0100
committerMichel Zou2019-11-14 07:26:06 +0100
commit60394ff7c00b8dfd75fa65287ac438d65d364202 (patch)
tree65c7188595dafa950128a7b68e7b1389d08c91d8
parentec9e5576e8420dc5641d053512dc952eb4b878ba (diff)
downloadaur-60394ff7c00b8dfd75fa65287ac438d65d364202.tar.gz
add -lssp to LDFLAGS
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--mingw-cmake.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a4743d8dfb5..00239559aac 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mingw-w64-cmake
pkgdesc = CMake wrapper for MinGW (mingw-w64)
pkgver = 1
- pkgrel = 29
+ pkgrel = 30
url = http://fedoraproject.org/wiki/MinGW
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 1b813a6de75..ab9bed91f9f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
pkgname=mingw-w64-cmake
pkgver=1
-pkgrel=29
+pkgrel=30
arch=('any')
pkgdesc="CMake wrapper for MinGW (mingw-w64)"
depends=('cmake' 'mingw-w64-gcc' 'mingw-w64-pkg-config')
diff --git a/mingw-cmake.sh b/mingw-cmake.sh
index 9832efedeab..8920eab66c4 100644
--- a/mingw-cmake.sh
+++ b/mingw-cmake.sh
@@ -5,7 +5,7 @@ export PKG_CONFIG_LIBDIR="${mingw_prefix}/lib/pkgconfig"
default_mingw_pp_flags="-D_FORTIFY_SOURCE=2"
default_mingw_compiler_flags="$default_mingw_pp_flags -O2 -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4"
-default_mingw_linker_flags="-Wl,-O1,--sort-common,--as-needed -fstack-protector"
+default_mingw_linker_flags="-Wl,-O1,--sort-common,--as-needed -fstack-protector -lssp"
export CPPFLAGS="${MINGW_CPPFLAGS:-$default_mingw_pp_flags $CPPFLAGS}"
export CFLAGS="${MINGW_CFLAGS:-$default_mingw_compiler_flags $CFLAGS}"