# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/zlib/hotfix-cc.patch # Copyright (C) 2022 The T2 SDE Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License version 2 as used by the T2 SDE. # --- T2-COPYRIGHT-NOTE-END --- --- zlib-1.2.12/configure.vanilla 2022-04-01 12:54:24.518725865 +0200 +++ zlib-1.2.12/configure 2022-04-01 12:55:31.212729306 +0200 @@ -176,6 +176,8 @@ else cc=${CROSS_PREFIX}cc fi +else + cc="$CC" fi cflags=${CFLAGS-"-O3"} # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure