summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-08-27 08:10:17 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-08-27 08:10:17 +0200
commit22df1554f5b6dabfd9c8bb18a0107c36a3cf2aac (patch)
tree4624b7a5a84d1b9d10865ee242352a49f857c87b
parentb8886d66f1c2a55438757539824a9afb6ac014bb (diff)
downloaddabmux-22df1554f5b6dabfd9c8bb18a0107c36a3cf2aac.tar.gz
dabmux-22df1554f5b6dabfd9c8bb18a0107c36a3cf2aac.tar.bz2
dabmux-22df1554f5b6dabfd9c8bb18a0107c36a3cf2aac.zip
Set PTHREAD_CFLAGS for LDADD too
-rw-r--r--Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index a47f0e2..e9001d6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -54,7 +54,7 @@ lib_charset_sources = lib/charset/charset.cpp \
odr_dabmux_CFLAGS =-Wall $(INCLUDE) $(PTHREAD_CFLAGS) $(GITVERSION_FLAGS)
odr_dabmux_CXXFLAGS =-Wall -std=c++11 $(PTHREAD_CFLAGS) $(INCLUDE) $(GITVERSION_FLAGS) $(BOOST_CPPFLAGS) $(ZMQ_CPPFLAGS)
odr_dabmux_LDADD =$(ZMQ_LIBS) $(BOOST_LDFLAGS) \
- $(PTHREAD_LIBS) $(BOOST_SYSTEM_LIB)
+ $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) $(BOOST_SYSTEM_LIB)
odr_dabmux_SOURCES =src/DabMux.cpp \
src/DabMux.h \
@@ -191,7 +191,7 @@ odr_zmq2farsync_SOURCES = src/zmq2farsync/zmq2farsync.cpp \
odr_zmq2farsync_LDADD = $(ZMQ_LIBS)
odr_zmq2farsync_CFLAGS = -Wall $(ZMQ_CPPFLAGS) $(PTHREAD_CFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
-odr_zmq2farsync_CXXFLAGS = -Wall -std=c++11 $(PTHREAD_LIBS) $(ZMQ_CPPFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
+odr_zmq2farsync_CXXFLAGS = -Wall -std=c++11 $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) $(ZMQ_CPPFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
odr_zmq2edi_SOURCES = src/zmq2edi/zmq2edi.cpp \
src/zmq2edi/EDISender.h \
@@ -224,7 +224,7 @@ odr_zmq2edi_SOURCES = src/zmq2edi/zmq2edi.cpp \
lib/zmq.hpp \
$(lib_fec_sources)
-odr_zmq2edi_LDADD = $(ZMQ_LIBS) $(PTHREAD_LIBS) $(BOOST_SYSTEM_LIB)
+odr_zmq2edi_LDADD = $(ZMQ_LIBS) $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) $(BOOST_SYSTEM_LIB)
odr_zmq2edi_CFLAGS = -Wall $(ZMQ_CPPFLAGS) $(PTHREAD_CFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)
odr_zmq2edi_CXXFLAGS = -Wall -std=c++11 $(PTHREAD_LIBS) $(ZMQ_CPPFLAGS) $(GITVERSION_FLAGS) $(INCLUDE)