summaryrefslogtreecommitdiff
path: root/libre/systemd
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-10-18 19:46:19 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-10-18 19:46:19 -0500
commitc77bd260c0436582472702f2a051b0ef78b5b845 (patch)
tree517b238a9ad7f0176c597109f2ddea06b47b62dd /libre/systemd
parent3d859d72086d2a8d264226c05c2b1ea08ccaeb0b (diff)
systemd: armv7h port
Diffstat (limited to 'libre/systemd')
-rw-r--r--libre/systemd/PKGBUILD8
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 \