diff options
author | Andreas Baumann | 2023-06-01 10:43:19 +0200 |
---|---|---|
committer | Andreas Baumann | 2023-06-01 10:43:19 +0200 |
commit | 25e5db9bc519dab2227f585a889a8b2650c50586 (patch) | |
tree | b3092d67b7cf2e0aa30a5c79590bf87590fd35df | |
parent | 545bd06b358b723861e36b35cd69536cb363d4f8 (diff) | |
download | aur-25e5db9bc519dab2227f585a889a8b2650c50586.tar.gz |
defining _LARGEFILE64_SOURCE for musl
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = pacman-static pkgdesc = Statically-compiled pacman (to fix or install systems without libc) pkgver = 6.0.2 - pkgrel = 2 + pkgrel = 3 url = https://www.archlinux.org/pacman/ arch = i486 arch = i686 @@ -16,7 +16,7 @@ _libarchive_ver=3.6.1 _gpgerrorver=1.46 _libassuanver=2.5.5 _gpgmever=1.18.0 -pkgrel=2 +pkgrel=3 pkgdesc="Statically-compiled pacman (to fix or install systems without libc)" arch=('i486' 'i686' 'pentium4' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') url="https://www.archlinux.org/pacman/" @@ -138,6 +138,10 @@ if [[ $CARCH = i686 || $CARCH = pentium4 || $CARCH = i486 ]]; then export CXXFLAGS="${CXXFLAGS/-fstack-protector-strong/}" fi +# to enable func64 interface in musl for 64-bit file system functions +export CFLAGS+=' -D_LARGEFILE64_SOURCE' +export CXXFLAGS+=' -D_LARGEFILE64_SOURCE' + # keep using xz-compressed packages, because one use of the package is to # recover on systems with broken zstd support in libarchive [[ $PKGEXT = .pkg.tar.zst ]] && PKGEXT=.pkg.tar.xz |