summaryrefslogtreecommitdiff
path: root/training
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2014-10-09 13:59:21 -0400
committerChris Dyer <redpony@gmail.com>2014-10-09 13:59:21 -0400
commita82c420ee1942f50cacaf96cfbcad99707bab345 (patch)
tree5464fc5cddd5ef4eb17f280159f5bc4c76e9047e /training
parent4823bd6658e2ca8baa673b9566dc044c64912868 (diff)
patch for using ax_pthread
Diffstat (limited to 'training')
-rw-r--r--training/utils/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/training/utils/Makefile.am b/training/utils/Makefile.am
index 27c6e344..edaaf3d4 100644
--- a/training/utils/Makefile.am
+++ b/training/utils/Makefile.am
@@ -12,10 +12,12 @@ noinst_PROGRAMS = \
EXTRA_DIST = decode-and-evaluate.pl libcall.pl parallelize.pl
sentserver_SOURCES = sentserver.cc
-sentserver_LDFLAGS = -pthread
+sentserver_LDFLAGS = $(PTHREAD_LIBS)
+sentserver_CXXFLAGS = $(PTHREAD_CFLAGS)
sentclient_SOURCES = sentclient.cc
-sentclient_LDFLAGS = -pthread
+sentclient_LDFLAGS = $(PTHREAD_LIBS)
+sentclient_CXXFLAGS = $(PTHREAD_CFLAGS)
TESTS = lbfgs_test optimize_test