[SCM] xvidcore/master: Enable -O3 instead of -O2.

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Tue May 3 22:59:58 UTC 2011


The following commit has been merged in the master branch:
commit c1b0c562765865e58493af0755719ed7478553c7
Author: Andres Mejia <mcitadel at gmail.com>
Date:   Tue May 3 18:42:03 2011 -0400

    Enable -O3 instead of -O2.

diff --git a/debian/rules b/debian/rules
index 827e559..cd83d1f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,9 @@
 
 # Set CFLAGS from DEB_CFLAGS if defined, otherwise let xvidcore's build system
 # set CFLAGS to use.
-CFLAGS = $(DEB_CFLAGS)
+DEFAULT_CFLAGS = -Wall -O3 -fstrength-reduce -finline-functions -ffast-math \
+                 -fomit-frame-pointer
+CFLAGS = $(or $(DEB_CFLAGS),$(DEFAULT_CFLAGS))
 
 %:
 	dh $@ --sourcedirectory=build/generic \

-- 
xvidcore packaging



More information about the pkg-multimedia-commits mailing list