OLD | NEW |
1 diff -rupN ./configure ../zlib-1.2.3.4.dfsg-patched/configure | 1 diff -rupN ./configure ../zlib-1.2.3.4.dfsg-patched/configure |
2 --- ./configure 2009-12-24 18:09:43.000000000 +0300 | 2 --- ./configure 2009-12-24 18:09:43.000000000 +0300 |
3 +++ ../zlib-1.2.3.4.dfsg-patched/configure 2014-06-03 17:53:45.082074669 +0
400 | 3 +++ ../zlib-1.2.3.4.dfsg-patched/configure 2014-06-03 17:53:45.082074669 +0
400 |
4 @@ -72,6 +72,8 @@ cflags=${CFLAGS-"-O3"} | 4 @@ -72,6 +72,8 @@ cflags=${CFLAGS-"-O3"} |
5 # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure | 5 # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure |
6 case "$cc" in | 6 case "$cc" in |
7 *gcc*) gcc=1 ;; | 7 *gcc*) gcc=1 ;; |
8 + # Use the version script for clang builds as well. | 8 + # Use the version script for clang builds as well. |
9 + *clang*) gcc=1 ;; | 9 + *clang*) gcc=1 ;; |
10 esac | 10 esac |
11 | 11 |
12 if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then | 12 if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then |
OLD | NEW |