summaryrefslogtreecommitdiff
path: root/core/systemd/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-12-05 10:25:31 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-12-05 10:25:31 -0300
commit84d761959d4e6ac4f3acb3155a37b45c5863c332 (patch)
treeb29f483b504eb7ba6eee8daac3ddf2499774b88a /core/systemd/PKGBUILD
parent2e27d8d9808d5d65c1d6f39b629fbe956b294697 (diff)
Building with no-plt makes tests pass
Diffstat (limited to 'core/systemd/PKGBUILD')
-rw-r--r--core/systemd/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/systemd/PKGBUILD b/core/systemd/PKGBUILD
index af9f6c788..87e02f814 100644
--- a/core/systemd/PKGBUILD
+++ b/core/systemd/PKGBUILD
@@ -11,7 +11,7 @@ license=('GPL2' 'LGPL2.1' 'MIT')
makedepends=('acl' 'cryptsetup' 'dbus-core' 'docbook-xsl' 'gobject-introspection' 'gperf'
'gtk-doc' 'intltool' 'kmod' 'libcap' 'libgcrypt' 'libmicrohttpd' 'libxslt'
'linux-api-headers' 'pam' 'python' 'quota-tools' 'xz')
-options=('!libtool')
+options=('!libtool' '!makeflags' '!distcc')
source=("http://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
'initcpio-hook-udev'
'initcpio-install-udev'
@@ -29,6 +29,8 @@ build() {
# hang onto this until we do the /{,s}bin merge
patch -Np1 <"$srcdir/use-split-usr-path.patch"
+ [ "$CARCH" = "mips64el" ] && CFLAGS+=" -mno-plt"
+
./configure \
--libexecdir=/usr/lib \
--localstatedir=/var \