From 34ff0f68ce70a4634e8d014f438e935094595daa Mon Sep 17 00:00:00 2001 From: Debian Multimedia Maintainers Date: Fri, 25 May 2018 09:56:56 -0400 Subject: [PATCH] Add -O2 to CFLAGS by default, -O0 if noopt is set. Gbp-Pq: Name gcc-optflags.patch --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 55d7b4c..ca407bd 100755 --- a/configure +++ b/configure @@ -351,7 +351,7 @@ for opt do ;; --cpu=*) cpu=`echo $opt | cut -d '=' -f 2` ;; - --enable-debug) debuginfo="yes"; no_gcc_opt="yes" + --enable-debug) debuginfo="yes"; ;; --disable-opt) no_gcc_opt="yes" ;; @@ -686,7 +686,7 @@ fi #GCC opt if test "$no_gcc_opt" = "no"; then - CFLAGS="-O3 $CFLAGS" + CFLAGS="-O2 $CFLAGS" else CFLAGS="-O0 $CFLAGS" fi -- 2.30.2