Ticket #14228: patch-src-post-deinterlace-plugins-Makefile.am

File patch-src-post-deinterlace-plugins-Makefile.am, 589 bytes (added by illogical1@…, 16 years ago)

fix kdetv_greedyh.c build errors properly

Line 
1--- src/post/deinterlace/plugins/Makefile.am.orig       2008-02-08 11:24:08.000000000 -0500
2+++ src/post/deinterlace/plugins/Makefile.am    2008-02-08 18:10:26.000000000 -0500
3@@ -32,6 +32,9 @@
4 AM_CFLAGS = -I$(top_srcdir)/src/post/deinterlace \
5        -I$(top_srcdir)/src/libffmpeg/libavcodec/libpostproc
6 
7+# Avoid "can't find register" failures with -O0, -O2, -O3 (gcc 4.0)
8+libdeinterlaceplugins_la-kdetv_greedyh.lo libdeinterlaceplugins_la-kdetv_greedyh.o: CFLAGS=$(shell echo @CFLAGS@ | sed -e 's/$$/ -O1/')
9+
10 noinst_LTLIBRARIES = libdeinterlaceplugins.la
11 
12 libdeinterlaceplugins_la_SOURCES = \