diff options
author | András Wacha | 2022-01-17 10:07:55 +0100 |
---|---|---|
committer | András Wacha | 2022-01-17 10:07:55 +0100 |
commit | e736cfada15a083e0826a164c98bf7c31b02a02b (patch) | |
tree | 17cd4a28999d72bea5bf3d855646795f32631ff8 /PKGBUILD | |
parent | b1cbacca0e89da9d046b9b4a7dc0ac289211a0f4 (diff) | |
download | aur-e736cfada15a083e0826a164c98bf7c31b02a02b.tar.gz |
Workaround for a too strict compiler flag (-Werror=format-security) in the default /etc/makepkg.conf
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3,7 +3,7 @@ pkgname='perl-starlink-ast' pkgver='3.01' -pkgrel='1' +pkgrel='2' pkgdesc="Interface to the Starlink AST library" arch=('i686' 'x86_64') license=('PerlArtistic' 'GPL') @@ -17,6 +17,10 @@ md5sums=('db53bc018bd349e3a0c85bd8c6883f3c') sha512sums=('0beddc6c7c76f260725aa0958b2c82c2496b80c94529fca37e912493d45b09a07494f2b1bb3b0eb0ca99f61c6f415a6671240e9e69a8bef166d6b1591a00ddcf') _distdir="Starlink-AST-${pkgver}" +# Pacman v6.0.0 sets -Werror=format-security in /etc/makepkg.conf. This breaks the compilation of lib/Starlink/AST.xs +CFLAGS="${CFLAGS} -Wno-error=format-security" + + build() { ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ PERL_AUTOINSTALL=--skipdeps \ |