Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage1/uinit/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage1/uinit/DESCR')
-rw-r--r--i486-stage1/uinit/DESCR7
1 files changed, 7 insertions, 0 deletions
diff --git a/i486-stage1/uinit/DESCR b/i486-stage1/uinit/DESCR
index 34a987d..50ccc45 100644
--- a/i486-stage1/uinit/DESCR
+++ b/i486-stage1/uinit/DESCR
@@ -1,2 +1,9 @@
# uinit as temporary systemd replacement for PID 1, lives in the AUR
NEEDS_YAOURT=1
+
+# prepare configure for cross-compilation
+sed -i "s/make /make CC=$TARGET_ARCH-gcc /g" PKGBUILD
+
+# remove git dependency
+sed -i "/makedepends=/s/'git'//" PKGBUILD
+