aboutsummaryrefslogtreecommitdiff
path: root/core/rsync/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/rsync/build')
-rwxr-xr-xcore/rsync/build6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/rsync/build b/core/rsync/build
index 6a623847..8b4a7e2c 100755
--- a/core/rsync/build
+++ b/core/rsync/build
@@ -1,9 +1,11 @@
#!/bin/sh -e
-export CFLAGS="-static $CFLAGS"
-
+# Swap to awk script instead of perl script
+# for building rsync. See files/mkproto.awk.
sed -i 's/perl/awk -f/;s/mkproto.pl/mkproto.awk/' Makefile.in
+export CFLAGS="-static $CFLAGS"
+
./configure \
--prefix=/usr \
--with-included-popt \