summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-26 19:23:56 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-26 19:23:56 +0000
commit81e37133c966e8de993ec922b0008c405b29fe02 (patch)
treecde7b69100fd8ae61032d3bf732d25680f5bb047
parenta90dfcca64e1e9efe651e0318a808d38b16c0579 (diff)
few fixes for stricter ld in gcc 4.5.1
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@624 ec762483-ff6d-05da-a07a-a48fb63a330f
-rw-r--r--gi/clda/src/Makefile.am2
-rw-r--r--vest/Makefile.am2
2 files changed, 3 insertions, 1 deletions
diff --git a/gi/clda/src/Makefile.am b/gi/clda/src/Makefile.am
index 6a76fc93..3aab17da 100644
--- a/gi/clda/src/Makefile.am
+++ b/gi/clda/src/Makefile.am
@@ -13,5 +13,5 @@ bin_PROGRAMS = clda
clda_SOURCES = clda.cc
-AM_CPPFLAGS = -W -Wall -Wno-sign-compare -funroll-loops -I$(top_srcdir)/utils
+AM_CPPFLAGS = -W -Wall -Wno-sign-compare -funroll-loops -I$(top_srcdir)/utils $(GTEST_CPPFLAGS)
AM_LDFLAGS = $(top_srcdir)/utils/libutils.a -lz
diff --git a/vest/Makefile.am b/vest/Makefile.am
index aff9cda5..297f37fa 100644
--- a/vest/Makefile.am
+++ b/vest/Makefile.am
@@ -12,8 +12,10 @@ TESTS = lo_test
endif
sentserver_SOURCES = sentserver.c
+sentserver_LDFLAGS = -all-static
sentclient_SOURCES = sentclient.c
+sentclient_LDFLAGS = -all-static
mr_vest_generate_mapper_input_SOURCES = mr_vest_generate_mapper_input.cc line_optimizer.cc
mr_vest_generate_mapper_input_LDADD = $(top_srcdir)/decoder/libcdec.a $(top_srcdir)/mteval/libmteval.a $(top_srcdir)/utils/libutils.a -lz