From 5f866dcf315b459b49b3b8439ada2532665cdf5c Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 13 May 2011 14:19:25 +0200 Subject: Fix swig 'unrecognized option -pthread' compile error GNURADIO_CORE_CFLAGS may set '-pthread' which is not parseable by swig, so we need to explicitly use GNURADIO_CORE_INCLUDEDIR instead. Also, the GNURADIO_CORE_INCLUDEDIR/swig directory needs to be explicitly specified in Makefile.common --- gsm-receiver/Makefile.common | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gsm-receiver/Makefile.common b/gsm-receiver/Makefile.common index 4941eaa..f368e04 100644 --- a/gsm-receiver/Makefile.common +++ b/gsm-receiver/Makefile.common @@ -36,7 +36,8 @@ TCH_DECODER_INCLUDEDIR = $(top_srcdir)/src/lib/decoder/openbtsstuff STD_DEFINES_AND_INCLUDES = \ -I$(DECODER_INCLUDEDIR) \ -I$(MAIN_INCLUDEDIR) \ - $(GNURADIO_CORE_CFLAGS) \ + -I$(GNURADIO_CORE_INCLUDEDIR) \ + -I$(GNURADIO_CORE_INCLUDEDIR)/swig \ $(LIBOSMOCORE_CFLAGS) \ -I$(TCH_DECODER_INCLUDEDIR) -- cgit v1.2.3