summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicola Murino2019-11-17 11:12:24 +0100
committerNicola Murino2019-11-17 11:12:24 +0100
commit9d40b1df0ad0bb246c5d6d5127b6711ed4bb2f59 (patch)
tree7c0d504d3af503380dedfe8be2f095b45a6d860b
parentcba5402a0ad78f9d8a7fcd605b4d2f5424dba925 (diff)
downloadaur-9d40b1df0ad0bb246c5d6d5127b6711ed4bb2f59.tar.gz
update ldflags
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7361e4dbaed4..5f267fd56e89 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mingw-w64-openh264
pkgdesc = OpenH264 is a codec library which supports H.264 encoding and decoding (mingw-w64)
pkgver = 2.0.0
- pkgrel = 1
+ pkgrel = 2
url = http://www.openh264.org/
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 81cfb59de6b6..79919693bb9a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: drakkan <nicola.murino at gmail dot com>
pkgname=mingw-w64-openh264
pkgver=2.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="OpenH264 is a codec library which supports H.264 encoding and decoding (mingw-w64)"
arch=(any)
url="http://www.openh264.org/"
@@ -19,7 +19,7 @@ build() {
export CPPFLAGS="-D_FORTIFY_SOURCE=2"
export CFLAGS="-pipe -fno-plt -fexceptions --param=ssp-buffer-size=4"
export CXXFLAGS=${CFLAGS}
- export LDFLAGS="-Wl,-O1,--sort-common,--as-needed"
+ export LDFLAGS="-Wl,-O1,--sort-common,--as-needed -fstack-protector -lssp"
for _arch in ${_architectures}; do
[[ -d "build-${_arch}" ]] && rm -rf "build-${_arch}"
cp -rf "$srcdir/openh264-${pkgver}" "${srcdir}/build-${_arch}"