From 0205a222d9e63ef35d5e49a33af63c7a6ff9807b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Sun, 10 Nov 2013 11:22:54 +0000 Subject: [PATCH] Attached is a small patch to respect any LDFLAGS when building library/lammpi or packages/CLPBN/horus. Keri Harris --- library/lammpi/Makefile.in | 2 +- packages/CLPBN/horus/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/lammpi/Makefile.in b/library/lammpi/Makefile.in index 877ea3335..859850381 100644 --- a/library/lammpi/Makefile.in +++ b/library/lammpi/Makefile.in @@ -59,7 +59,7 @@ hash.o: $(srcdir)/hash.c $(srcdir)/hash.h $(MPI_CC) -c $(CFLAGS) $(srcdir)/hash.c -o hash.o @DO_SECOND_LD@yap_mpi.@SO@: $(OBJS) -@DO_SECOND_LD@ @SHLIB_LD@ -o yap_mpi.@SO@ $(OBJS) $(MPILDF) @EXTRA_LIBS_FOR_DLLS@ +@DO_SECOND_LD@ @SHLIB_LD@ $(LDFLAGS) -o yap_mpi.@SO@ $(OBJS) $(MPILDF) @EXTRA_LIBS_FOR_DLLS@ install: all @if test "$(SOBJS)" = ""; then echo ""; else $(INSTALL_PROGRAM) $(SOBJS) $(DESTDIR)$(YAPLIBDIR); fi diff --git a/packages/CLPBN/horus/Makefile.in b/packages/CLPBN/horus/Makefile.in index 4550aa4b9..17487fe6a 100644 --- a/packages/CLPBN/horus/Makefile.in +++ b/packages/CLPBN/horus/Makefile.in @@ -195,7 +195,7 @@ with_tests: $(LIB) $(HCLI) $(UTESTING) @DO_SECOND_LD@$(LIB): $(LIB_OBJS) -@DO_SECOND_LD@ @SHLIB_CXX_LD@ -o $@ $(LIB_OBJS) @EXTRA_LIBS_FOR_SWIDLLS@ +@DO_SECOND_LD@ @SHLIB_CXX_LD@ $(LDFLAGS) -o $@ $(LIB_OBJS) @EXTRA_LIBS_FOR_SWIDLLS@ $(HCLI): $(HCLI_OBJS)