core/xfsprogs: fix

This commit is contained in:
Kevin Mihelich 2021-11-24 04:42:45 +00:00
parent 0be23f1ce2
commit b6a2d3dadc

View file

@ -1,6 +1,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - original OPTIMIZER export does not play nice with our system
# - configure with --enable-lto=no
# - 32-bit cflags addition to fix FTBFS with liburcu
# Maintainer : Tobias Powalowski <tpowa@archlinux.org>
pkgname=xfsprogs
@ -24,6 +25,7 @@ build() {
#export OPTIMIZER="-march=${CARCH/_/-} -O1"
export OPTIMIZER="-O1"
export DEBUG=-DNDEBUG
[[ $CARCH != "aarch64" ]] && CFLAGS+=" -DUATOMIC_NO_LINK_ERROR"
./configure --prefix=/usr --sbindir=/usr/bin --with-systemd-unit-dir=/usr/lib/systemd/system --enable-lto=no
make
}