aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorNicolas Cellier <nicolas.cellier.aka.nice@gmail.com>2021-01-04 11:00:43 +0100
committerMark Adler <git@madler.net>2026-01-28 17:51:38 -0800
commitd380a71462f6207eaebdd9b2cb28eac8bd77c687 (patch)
treef9b3fdb384636818bd173fb096e72374e046de7c /configure
parent0dcef97505ccf205b05e202211567030d517d691 (diff)
downloadzlib-d380a71462f6207eaebdd9b2cb28eac8bd77c687.tar.gz
zlib-d380a71462f6207eaebdd9b2cb28eac8bd77c687.tar.bz2
zlib-d380a71462f6207eaebdd9b2cb28eac8bd77c687.zip
Add the architecture to the shared compile flags in configure.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 05bee1f4..fa539830 100755
--- a/configure
+++ b/configure
@@ -244,6 +244,7 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
244 SFLAGS="${CFLAGS--O3}" 244 SFLAGS="${CFLAGS--O3}"
245 if test "$ARCHS"; then 245 if test "$ARCHS"; then
246 CFLAGS="${CFLAGS} ${ARCHS}" 246 CFLAGS="${CFLAGS} ${ARCHS}"
247 SFLAGS="${SFLAGS} ${ARCHS}"
247 LDFLAGS="${LDFLAGS} ${ARCHS}" 248 LDFLAGS="${LDFLAGS} ${ARCHS}"
248 fi 249 fi
249 if test $build64 -eq 1; then 250 if test $build64 -eq 1; then