summaryrefslogtreecommitdiff
path: root/training/utils
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
commit81166355dfa0ccbae5413fd1ee896c43ce2f5d96 (patch)
tree7dcd7018d39a2d234dffb151858124fb48f2095f /training/utils
parent5d8617dca7de1e4d740e087fae5ba8045c3f7234 (diff)
patch for using ax_pthread
Diffstat (limited to 'training/utils')
-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