PKGBUILDs/alarm/devtools-alarm/0003-makechrootpkg-distcc.patch

15 lines
468 B
Diff
Raw Normal View History

2013-05-31 18:39:05 +00:00
diff -urN a/makechrootpkg.in b/makechrootpkg.in
--- a/makechrootpkg.in 2013-06-04 16:19:08.453803346 -0500
+++ b/makechrootpkg.in 2013-06-04 16:29:16.961006377 -0500
@@ -306,7 +306,9 @@
exit 1
fi
2013-05-31 18:39:05 +00:00
- sudo -u nobody makepkg $makepkg_args || exit 1
+ mkdir /build/.distcc
+ chown nobody /build/.distcc
+ sudo -u nobody DISTCC_IO_TIMEOUT=0 DISTCC_DIR='/build/.distcc' makepkg $makepkg_args || exit 1
2013-05-31 18:39:05 +00:00
if $run_namcap; then
pacman -S --needed --noconfirm namcap