summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCedric Roijakkers2024-01-17 10:38:29 +0100
committerCedric Roijakkers2024-01-17 10:38:29 +0100
commit7f575623821d504ee945f6e44826d34176d9daad (patch)
treec821bcb886bab5880b2ec397aab37dd0a3b75b43
parent67b61ab9b333f2907eff80359fa2d5b0aa3608fd (diff)
downloadaur-7f575623821d504ee945f6e44826d34176d9daad.tar.gz
Added -Wno-error flag to fix build in current versions of GCC.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d1f458cdac32..474ef35d0f82 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = libreswan
pkgdesc = IPsec implementation with IKEv1 and IKEv2 keying protocols
pkgver = 4.12
- pkgrel = 1
+ pkgrel = 2
url = https://libreswan.org/
install = libreswan.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 416923b1c312..7a78f272dc72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ set -u
pkgname='libreswan'
#pkgname+='-git'
pkgver='4.12'
-pkgrel='1'
+pkgrel='2'
pkgdesc='IPsec implementation with IKEv1 and IKEv2 keying protocols'
arch=('i686' 'x86_64')
arch+=('aarch64') # yjun naumovitch
@@ -92,6 +92,7 @@ build() {
#-Wno-error=pointer-compare
#-Wno-error=format-truncation
#-DNSS_PKCS11_2_0_COMPAT=1 # nss 3.52 https://github.com/libreswan/libreswan/issues/342
+ -Wno-error=unused-result
)
CFLAGS="${CFLAGS} ${_cf[*]}" \