diff options
author | Cedric Roijakkers | 2024-01-17 10:38:29 +0100 |
---|---|---|
committer | Cedric Roijakkers | 2024-01-17 10:38:29 +0100 |
commit | 7f575623821d504ee945f6e44826d34176d9daad (patch) | |
tree | c821bcb886bab5880b2ec397aab37dd0a3b75b43 | |
parent | 67b61ab9b333f2907eff80359fa2d5b0aa3608fd (diff) | |
download | aur-7f575623821d504ee945f6e44826d34176d9daad.tar.gz |
Added -Wno-error flag to fix build in current versions of GCC.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -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 @@ -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[*]}" \ |