From: Gabriel A. Devenyi Date: Tue, 28 Jan 2020 15:12:25 +0000 (-0500) Subject: Fix double specification of -O2 X-Git-Tag: 1.9.9-b1~373 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0693caad24f682729fffd6d840a1900ee2dbebdb;p=thirdparty%2Fzlib-ng.git Fix double specification of -O2 --- diff --git a/configure b/configure index fc37ea7e..9fde2ec2 100755 --- a/configure +++ b/configure @@ -332,7 +332,7 @@ if test "$gcc" -eq 1 && ($cc $CFLAGS -c $test.c) >> configure.log 2>&1; then LDFLAGS="${LDFLAGS} ${ARCHS}" fi CFLAGS="${CFLAGS} -Wall" - SFLAGS="-O2 ${CFLAGS} -fPIC" + SFLAGS="${CFLAGS} -fPIC" if test $native -eq 1; then CFLAGS="${CFLAGS} -march=native" SFLAGS="${SFLAGS} -march=native"