summaryrefslogtreecommitdiff
path: root/zlib
diff options
context:
space:
mode:
Diffstat (limited to 'zlib')
-rw-r--r--zlib/Makefile4
-rwxr-xr-xzlib/configure2
2 files changed, 3 insertions, 3 deletions
diff --git a/zlib/Makefile b/zlib/Makefile
index 85d314ac7..7fe6f7334 100644
--- a/zlib/Makefile
+++ b/zlib/Makefile
@@ -14,7 +14,7 @@
CC=gcc
-CFLAGS=-O3 -fomit-frame-pointer -DHAVE_UNISTD_H -DUSE_MMAP
+CFLAGS=-O3 -fomit-frame-pointer -DWITH_RSYNC_PAD -DHAVE_UNISTD_H -DUSE_MMAP
#CFLAGS=-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7
#CFLAGS=-g -DDEBUG
#CFLAGS=-O3 -Wall -Wwrite-strings -Wpointer-arith -Wconversion \
@@ -33,7 +33,7 @@ RANLIB=ranlib
TAR=tar
SHELL=/bin/sh
-prefix =/usr/local
+prefix =/usr
exec_prefix =${prefix}
libdir =${exec_prefix}/lib
includedir =${prefix}/include
diff --git a/zlib/configure b/zlib/configure
index 4622adb73..385f4e802 100755
--- a/zlib/configure
+++ b/zlib/configure
@@ -61,7 +61,7 @@ EOF
test -z "$CC" && echo Checking for gcc...
cc=${CC-gcc}
-cflags=${CFLAGS-"-O3 -fomit-frame-pointer"}
+cflags=${CFLAGS-"-O3 -fomit-frame-pointer -DWITH_RSYNC_PAD"}
# to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
case "$cc" in
*gcc*) gcc=1;;