Commit d380a71 for zlib
commit d380a71462f6207eaebdd9b2cb28eac8bd77c687
Author: Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com>
Date: Mon Jan 4 11:00:43 2021 +0100
Add the architecture to the shared compile flags in configure.
diff --git a/configure b/configure
index 05bee1f..fa53983 100755
--- a/configure
+++ b/configure
@@ -244,6 +244,7 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
SFLAGS="${CFLAGS--O3}"
if test "$ARCHS"; then
CFLAGS="${CFLAGS} ${ARCHS}"
+ SFLAGS="${SFLAGS} ${ARCHS}"
LDFLAGS="${LDFLAGS} ${ARCHS}"
fi
if test $build64 -eq 1; then