[SCM] gpac/master.experimental: Update gcc-optflags.patch
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Tue Mar 6 23:31:25 UTC 2012
The following commit has been merged in the master.experimental branch:
commit 5e3ebcefa444523425acb4be0bc16f75e7d9c3fe
Author: Alessio Treglia <alessio at debian.org>
Date: Wed Mar 7 00:01:38 2012 +0100
Update gcc-optflags.patch
diff --git a/debian/patches/gcc-optflags.patch b/debian/patches/gcc-optflags.patch
index d9ad714..ee04b5b 100644
--- a/debian/patches/gcc-optflags.patch
+++ b/debian/patches/gcc-optflags.patch
@@ -2,12 +2,12 @@ Subject: Add -O2 to CFLAGS by default, -O0 if noopt is set.
Author: Alessio Treglia <alessio at debian.org>
Forwarded: not-needed
---
- configure | 10 +++-------
- 1 file changed, 3 insertions(+), 7 deletions(-)
+ configure | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
--- gpac.orig/configure
+++ gpac/configure
-@@ -312,7 +312,7 @@ for opt do
+@@ -315,7 +315,7 @@ for opt do
;;
--cpu=*) cpu=`echo $opt | cut -d '=' -f 2`
;;
@@ -16,19 +16,12 @@ Forwarded: not-needed
;;
--disable-opt) no_gcc_opt="yes"
;;
-@@ -594,13 +594,9 @@ fi
+@@ -599,7 +599,7 @@ fi
#GCC opt
if test "$no_gcc_opt" = "no"; then
-- if $cc --version | grep 'sbox-arm-linux-gcc (GCC) 3.4.4'
-- then
-- echo "Detected buggy arm GCC (diablo), using -O2"
- CFLAGS="-O2 $CFLAGS"
-- else
-- CFLAGS="-O3 $CFLAGS"
-- fi
-+else
-+ CFLAGS="-O0 $CFLAGS"
+- CFLAGS="-O3 $CFLAGS"
++ CFLAGS="-O2 $CFLAGS"
+ else
+ CFLAGS="-O0 $CFLAGS"
fi
-
-
--
gpac packaging
More information about the pkg-multimedia-commits
mailing list