summaryrefslogtreecommitdiff
path: root/src/post/planar
diff options
context:
space:
mode:
authorReinhard Nißl <rnissl@gmx.de>2007-04-10 21:21:55 +0200
committerReinhard Nißl <rnissl@gmx.de>2007-04-10 21:21:55 +0200
commit2db5cee0a753b0430a3d3f1fe2af5d5538fb49eb (patch)
treea87e35c2cb0d85182a0526bb925b28612107d0da /src/post/planar
parentc552e457732c3c7b84b66ed8548713be52561487 (diff)
downloadxine-lib-2db5cee0a753b0430a3d3f1fe2af5d5538fb49eb.tar.gz
xine-lib-2db5cee0a753b0430a3d3f1fe2af5d5538fb49eb.tar.bz2
Allow xine-lib to be built with CFLAGS='-O0 -g3' by changing optimization
as needed for some files where gcc runs out of registers otherwise.
Diffstat (limited to 'src/post/planar')
-rw-r--r--src/post/planar/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/post/planar/Makefile.am b/src/post/planar/Makefile.am
index 5fc425cdf..826f378a6 100644
--- a/src/post/planar/Makefile.am
+++ b/src/post/planar/Makefile.am
@@ -15,6 +15,11 @@ endif
# work, but at least it compiles.
AM_CFLAGS = $(ff_cflags) -fomit-frame-pointer
+# Avoid errors with -O0
+xineplug_post_planar_la-eq.o xineplug_post_planar_la-eq.lo: CFLAGS=`echo @CFLAGS@ | sed -e 's/-O0\?\s/-Os /g'`
+xineplug_post_planar_la-eq2.o xineplug_post_planar_la-eq2.lo: CFLAGS=`echo @CFLAGS@ | sed -e 's/-O0\?\s/-Os /g'`
+xineplug_post_planar_la-noise.o xineplug_post_planar_la-noise.lo: CFLAGS=`echo @CFLAGS@ | sed -e 's/-O0\?\s/-Os /g'`
+
xinepost_LTLIBRARIES = xineplug_post_planar.la
xineplug_post_planar_la_SOURCES = planar.c invert.c expand.c fill.c boxblur.c \