--- zlib/configure.orig	2007-04-11 10:40:05.000000000 +0200
+++ zlib/configure	2012-03-25 21:14:36.000000000 +0200
@@ -19645,7 +19645,7 @@
 fi
 
 
-CFLAGS="-DHAS_snprintf -DHAS_snprintf"
+CFLAGS="$CFLAGS -DHAS_snprintf -DHAS_snprintf"
 if test "$ac_cv_c_compiler_gnu" = yes; then
     CFLAGS="-DWITH_RSYNC_PAD -O3 -fomit-frame-pointer -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts $CFLAGS"
 fi
