summaryrefslogtreecommitdiff
path: root/package/zlib/patches/patch-configure
blob: 5455304be24a01e988337be140e0b567dd7f2008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- zlib-1.2.12.orig/configure	2022-03-28 01:39:42.000000000 +0200
+++ zlib-1.2.12/configure	2022-09-02 12:00:43.434885119 +0200
@@ -174,7 +174,10 @@ if test -z "$CC"; then
   else
     cc=${CROSS_PREFIX}cc
   fi
+else
+  cc=${CC}
 fi
+
 cflags=${CFLAGS-"-O3"}
 # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
 case "$cc" in