From 2db5cee0a753b0430a3d3f1fe2af5d5538fb49eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reinhard=20Ni=C3=9Fl?= Date: Tue, 10 Apr 2007 21:21:55 +0200 Subject: 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. --- src/post/goom/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/post/goom') diff --git a/src/post/goom/Makefile.am b/src/post/goom/Makefile.am index e6bae3374..53a806a7a 100644 --- a/src/post/goom/Makefile.am +++ b/src/post/goom/Makefile.am @@ -8,6 +8,9 @@ EXTRA_DIST = mmx.c xmmx.c ppc_drawings.s ppc_zoom_ultimate.s diff_against_releas #CFLAGS = `echo @CFLAGS@ | sed -e 's/-fomit-frame-pointer//g;s/-Os/-O2/g'` CFLAGS = `echo @CFLAGS@ | sed -e 's/-Os/-O2/g'` +# Avoid errors with -O0 +xineplug_post_goom_la-xmmx.o xineplug_post_goom_la-xmmx.lo: CFLAGS=`echo @CFLAGS@ | sed -e 's/-O0\?\s/-Os /g'` + xinepost_LTLIBRARIES = xineplug_post_goom.la ## doesn't work -- cgit v1.2.3