summaryrefslogtreecommitdiff
path: root/core/udev
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-15 11:16:54 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-15 11:16:54 -0300
commitb0a0dff4d5271fee0365879bf9524b24f9230541 (patch)
tree927969ed686ef53fe5344a12ecc0d1c5f86cf93f /core/udev
parent3a5f81e19320707f992fc9dd59eb2ed33ed04d87 (diff)
Udev builds, binaries are a little bigger, we should test a newer binutils
snapshot.
Diffstat (limited to 'core/udev')
-rw-r--r--core/udev/PKGBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/udev/PKGBUILD b/core/udev/PKGBUILD
index b80fd7707..474fceb5b 100644
--- a/core/udev/PKGBUILD
+++ b/core/udev/PKGBUILD
@@ -8,7 +8,7 @@ pkgbase="udev"
pkgname=('udev' 'udev-compat')
pkgver=171
pkgrel=2
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url="http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html"
license=('GPL')
groups=('base')
@@ -25,6 +25,13 @@ build() {
# fix https://bugs.archlinux.org/task/24362 (will be in udev-172)
patch -Np1 -i ../static-audio-nodes-group.patch
patch -Np1 -i ../static-nodes-permissions.patch
+
+ if [ "$CARCH" = "mips64el" ]; then
+ msg "Remove -Wl,--gc-sections"
+ sed -i "753d" Makefile
+ sed -i "753d" Makefile.in
+ fi
+
./configure --sysconfdir=/etc --with-rootlibdir=/lib --libexecdir=/lib/udev\
--sbindir=/sbin --with-systemdsystemunitdir=/lib/systemd/system\
--disable-rule-generator