summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicola Murino2020-05-18 23:07:17 +0200
committerNicola Murino2020-05-18 23:07:17 +0200
commite4f2a2b8aa17cdcd2808350fc9b2c289b0a2af9a (patch)
tree794807f1bf23120739734d7d914dcb8104a83d67
parent9722463ad494e4e640549c9402038526fbe9af6a (diff)
downloadaur-e4f2a2b8aa17cdcd2808350fc9b2c289b0a2af9a.tar.gz
workaround to fix build with gcc-10
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cd66ad866c62..b9525186db3e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mingw-w64-libsrtp
pkgdesc = Library for SRTP (Secure Realtime Transport Protocol) (mingw-w64)
pkgver = 2.3.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/cisco/libsrtp
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index a7a0e4e3577f..8f95fceedfab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: drakkan <nicola.murino at gmail dot com>
pkgname=mingw-w64-libsrtp
pkgver=2.3.0
-pkgrel=1
+pkgrel=2
pkgdesc="Library for SRTP (Secure Realtime Transport Protocol) (mingw-w64)"
arch=('any')
url="https://github.com/cisco/libsrtp"
@@ -16,6 +16,8 @@ _architectures="i686-w64-mingw32 x86_64-w64-mingw32"
build() {
export ac_cv_lib_pcap_pcap_create=no
+ # workaround to fix build with gcc 10
+ export CFLAGS="-fcommon"
cd "${srcdir}/libsrtp-$pkgver/"
for _arch in ${_architectures}; do
mkdir -p build-${_arch} && pushd build-${_arch}