author | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2024-07-12 17:47:54 UTC |
committer | Urja (ARMLFS builder)
<urja+armlfs@urja.dev> 2024-07-12 17:47:54 UTC |
parent | bfddf724971fbd8798fc28368c7d00865f091d89 |
PKGBUILD | +4 | -1 |
diff --git a/PKGBUILD b/PKGBUILD index 7e50bd3..5e74976 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgname=snappy pkgver=1.1.10 pkgrel=1 pkgdesc='A fast compressor/decompressor library' -arch=(armv7h) +arch=(armv7h 'aarch64') url="https://google.github.io/snappy/" license=('BSD') depends=('glibc' 'gcc-libs') @@ -33,6 +33,9 @@ prepare() { build() { cd "$pkgname-$pkgver" + # NEON breakage (fails to build) + [[ $CARCH == "armv7h" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/neon-vfpv4/vfpv3/'` && CXXFLAGS="$CFLAGS" + # compile without assertions CXXFLAGS+=\ -DNDEBUG