25 lines
572 B
Diff
25 lines
572 B
Diff
|
From 6378872888c85c02f340126712684e0f603f5e76 Mon Sep 17 00:00:00 2001
|
||
|
From: Ilya Leoshkevich <iii@linux.ibm.com>
|
||
|
Date: Wed, 27 Apr 2022 14:38:23 +0200
|
||
|
Subject: [PATCH] zlib-1.2.12-fix-configure.patch
|
||
|
|
||
|
---
|
||
|
configure | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
diff --git a/configure b/configure
|
||
|
index cff6207ec..dd01b5c0e 100755
|
||
|
--- a/configure
|
||
|
+++ b/configure
|
||
|
@@ -185,7 +185,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
|