summaryrefslogtreecommitdiff
path: root/packages-i486-stage1/kmod
diff options
context:
space:
mode:
Diffstat (limited to 'packages-i486-stage1/kmod')
-rw-r--r--packages-i486-stage1/kmod6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages-i486-stage1/kmod b/packages-i486-stage1/kmod
new file mode 100644
index 0000000..6039431
--- /dev/null
+++ b/packages-i486-stage1/kmod
@@ -0,0 +1,6 @@
+# prepare configure for cross-compilation
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
+
+# don't build documentation
+sed -i "/depends=/s/gtk-doc//" PKGBUILD
+sed -i "s/--enable-gtk-doc/--disable-gtk-doc/" PKGBUILD