summaryrefslogtreecommitdiff
path: root/core/kmod
diff options
context:
space:
mode:
Diffstat (limited to 'core/kmod')
-rw-r--r--core/kmod/PKGBUILD11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/kmod/PKGBUILD b/core/kmod/PKGBUILD
new file mode 100644
index 00000000..184ab2a8
--- /dev/null
+++ b/core/kmod/PKGBUILD
@@ -0,0 +1,11 @@
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ # don't build documentation
+ makedepends=(${makedepends[@]//gtk-doc/})
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-gtk-doc/--disable-gtk-doc/
+ '
+ )"
+fi