summaryrefslogtreecommitdiff
path: root/core/udev/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/udev/PKGBUILD')
-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