projects
/
gpac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9ce92f
)
Add -O2 to CFLAGS by default, -O0 if noopt is set.
author
Debian Multimedia Maintainers
<debian-multimedia@lists.debian.org>
Fri, 25 May 2018 13:56:56 +0000
(09:56 -0400)
committer
James Cowgill
<jcowgill@debian.org>
Fri, 25 May 2018 13:56:56 +0000
(09:56 -0400)
Gbp-Pq: Name gcc-optflags.patch
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 55d7b4cace96c114c275eb1f007015071a621cd7..ca407bd153030fe63c7f421543e4fb2e58d1829e 100755
(executable)
--- 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="-O
3
$CFLAGS"
+ CFLAGS="-O
2
$CFLAGS"
else
CFLAGS="-O0 $CFLAGS"
fi