]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Fix double specification of -O2
authorGabriel A. Devenyi <gdevenyi@gmail.com>
Tue, 28 Jan 2020 15:12:25 +0000 (10:12 -0500)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 7 Feb 2020 15:45:52 +0000 (16:45 +0100)
configure

index fc37ea7e11aed61abe4b403b17d554a687dfffdd..9fde2ec2501007604115a0040783dfbf5fb67136 100755 (executable)
--- 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"