Fix configure issue that discarded provided CC definition.

This commit is contained in:
Mark Adler 2022-03-28 18:34:10 -07:00
parent 3df842426b
commit 05796d3d8d

3
configure vendored
View File

@ -174,7 +174,10 @@ if test -z "$CC"; then
else else
cc=${CROSS_PREFIX}cc cc=${CROSS_PREFIX}cc
fi fi
else
cc=${CC}
fi fi
cflags=${CFLAGS-"-O3"} cflags=${CFLAGS-"-O3"}
# to force the asm version use: CFLAGS="-O3 -DASMV" ./configure # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
case "$cc" in case "$cc" in