From c77bd260c0436582472702f2a051b0ef78b5b845 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sun, 18 Oct 2015 19:46:19 -0500 Subject: systemd: armv7h port --- libre/systemd/PKGBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libre/systemd') 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 \ -- cgit v1.2.3