mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
core/xfsprogs: fix
This commit is contained in:
parent
0be23f1ce2
commit
b6a2d3dadc
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue