diff options
author | Nicola Murino | 2020-05-18 23:07:17 +0200 |
---|---|---|
committer | Nicola Murino | 2020-05-18 23:07:17 +0200 |
commit | e4f2a2b8aa17cdcd2808350fc9b2c289b0a2af9a (patch) | |
tree | 794807f1bf23120739734d7d914dcb8104a83d67 | |
parent | 9722463ad494e4e640549c9402038526fbe9af6a (diff) | |
download | aur-e4f2a2b8aa17cdcd2808350fc9b2c289b0a2af9a.tar.gz |
workaround to fix build with gcc-10
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -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 @@ -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} |