projects
/
gpac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca02f77
)
Add -O2 to CFLAGS by default, -O0 if noopt is set.
author
Alessio Treglia
<alessio@debian.org>
Tue, 7 Mar 2023 11:41:07 +0000
(06:41 -0500)
committer
Reinhard Tartler
<siretart@tauware.de>
Tue, 7 Mar 2023 11:41:07 +0000
(06:41 -0500)
Forwarded: not-needed
Forwarded: not-needed
Gbp-Pq: Name gcc-optflags.patch
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index 25d67dc8f2596b97e4149b728c3e1ef824ea43d2..2b34cb51e0a3b0e84e9499e71bd2a643e86be5be 100755
(executable)
--- a/
configure
+++ b/
configure
@@
-378,7
+378,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"
;;
@@
-743,7
+743,7
@@
fi
#GCC opt
if test "$no_gcc_opt" = "no"; then
- CFLAGS="-O
3
$CFLAGS"
+ CFLAGS="-O
2
$CFLAGS"
else
CFLAGS="-O0 $CFLAGS"
fi