diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-10-18 19:46:19 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-10-18 19:46:19 -0500 |
commit | c77bd260c0436582472702f2a051b0ef78b5b845 (patch) | |
tree | 517b238a9ad7f0176c597109f2ddea06b47b62dd /libre/systemd/PKGBUILD | |
parent | 3d859d72086d2a8d264226c05c2b1ea08ccaeb0b (diff) | |
download | abslibre-c77bd260c0436582472702f2a051b0ef78b5b845.tar.gz abslibre-c77bd260c0436582472702f2a051b0ef78b5b845.tar.bz2 abslibre-c77bd260c0436582472702f2a051b0ef78b5b845.zip |
systemd: armv7h port
Diffstat (limited to 'libre/systemd/PKGBUILD')
-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 \ |