diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/systemd/PKGBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libre/systemd/PKGBUILD b/libre/systemd/PKGBUILD index c85f8af7e..d212f570d 100644 --- a/libre/systemd/PKGBUILD +++ b/libre/systemd/PKGBUILD @@ -51,7 +51,13 @@ build() { local timeservers=({0..3}.arch.pool.ntp.org) - [ "$CARCH" != "armv7h" ] && extra=--enable-gnuefi + if [ "$CARCH" = "armv7h" ]; then + LDFLAGS+=" -Wl,-fuse-ld=bfd" + CFLAGS+=" -fno-lto" + CXXFLAGS+=" -fno-lto" + else + extra=--enable-gnuefi + fi ./configure \ --libexecdir=/usr/lib \ |