summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChris Severance2020-05-24 21:17:28 -0400
committerChris Severance2020-05-24 21:17:28 -0400
commit0b61cfb48617f8205b40c696ebbefdc9712ef703 (patch)
tree02365187caa5861246f727567d1cf7130ce405d3 /PKGBUILD
parent2242be4f5788fc618cf89df4820f813e9a4d347e (diff)
downloadaur-0b61cfb48617f8205b40c696ebbefdc9712ef703.tar.gz
autu: Update to 2.6.51.5-2 gcc 10 -fcommon
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 076965b6cc19..2b4a4728d15f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@
set -u
pkgname='openswan'
pkgver='2.6.51.5'
-pkgrel='1'
+pkgrel='2'
pkgdesc='Open Source implementation of IPsec for Linux'
arch=('i686' 'x86_64')
url='https://www.openswan.org'
@@ -56,6 +56,9 @@ prepare() {
build() {
set -u
cd "${_srcdir}"
+ if [ "${pkgver}" = '2.6.51.5' ]; then
+ CFLAGS+=' -fcommon'
+ fi
make USE_XAUTH='true' USE_OBJDIR='true' programs
set +u
}