From bfcf8e5e061b048c925f0741512d3a60cfadc71d Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 21 May 2004 11:34:44 +0000 Subject: fix mcopidl generator Original commit message from CVS: fix mcopidl generator --- ext/arts/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/arts/Makefile.am b/ext/arts/Makefile.am index d3218ddf..081dc03d 100644 --- a/ext/arts/Makefile.am +++ b/ext/arts/Makefile.am @@ -2,8 +2,11 @@ plugin_LTLIBRARIES = libgstarts.la SUFFIXES = .idl +# on FC2, artsc-config --cflags has -pthread, which mcopidl doesn't like +# If someone has time and energy, please check if -pthread should be allowed +# in compile flags at all. .idl.cc: - mcopidl -t $(ARTS_CXXFLAGS) $< + mcopidl -t `echo $(ARTS_CXXFLAGS) | sed 's/-pthread//g'` $< # mcopidl Extension Expansion Technology clean up CLEANFILES = gst_artsio.h gst_artsio.cc gst_artsio.mcopclass gst_artsio.mcoptype -- cgit v1.2.1