blob: afdf2b986da6861859a1d9dbe13910d737064ced (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh -e
# Swap to awk script instead of perl script
# for building rsync. See files/mkproto.awk.
sed 's/perl/awk -f/;s/mkproto.pl/mkproto.awk/' Makefile.in > _
cat _ > Makefile.in; rm -f _
export CFLAGS="-static $CFLAGS"
cpt-configure \
--with-included-popt \
--disable-xxhash \
--disable-asm \
--disable-lz4 \
--disable-zstd \
--disable-openssl \
--disable-simd \
--without-included-zlib
make
make DESTDIR="$1" install
|