projects
/
gpac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5221f6d
)
Add -O2 to CFLAGS by default, -O0 if noopt is set.
author
Alessio Treglia
<alessio@debian.org>
Wed, 1 Sep 2021 19:50:08 +0000
(20:50 +0100)
committer
Sebastian Ramacher
<sramacher@debian.org>
Wed, 1 Sep 2021 19:50:08 +0000
(20:50 +0100)
Forwarded: not-needed
Forwarded: not-needed
Gbp-Pq: Name gcc-optflags.patch
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index de8ea9965dfeb16dbc8cfc03e0d9b721a46b6174..e98903eae3fb1dee0ff61b06ee13eb2683ac6995 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-365,7
+365,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