projects
/
gpac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94f9b9a
)
Add -O2 to CFLAGS by default, -O0 if noopt is set.
author
Debian Multimedia Maintainers
<debian-multimedia@lists.debian.org>
Sun, 7 Apr 2019 16:19:28 +0000
(12:19 -0400)
committer
Reinhard Tartler
<siretart@tauware.de>
Sun, 7 Apr 2019 16:19:28 +0000
(12:19 -0400)
Gbp-Pq: Name gcc-optflags.patch
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 485bfe22bf5d877624d5552a319b6e116175909e..adab0caa2a4f64d90dbbc02cb18fc485980fc290 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-360,7
+360,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"
;;
@@
-708,7
+708,7
@@
fi
#GCC opt
if test "$no_gcc_opt" = "no"; then
- CFLAGS="-O
3
$CFLAGS"
+ CFLAGS="-O
2
$CFLAGS"
else
CFLAGS="-O0 $CFLAGS"
fi