From 174f975993b4913af84c4dcd0a9c0bf0c04c05fd Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 20 Jan 2014 09:49:37 +0100 Subject: [PATCH] Fix build when an older version of simgrid is already installed. Put CMAKE_LINKARGS before CMDLINE so that libsimgrid is caught from the right directory. --- src/smpi/smpicc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smpi/smpicc.in b/src/smpi/smpicc.in index 843c526927..d88318ff5f 100755 --- a/src/smpi/smpicc.in +++ b/src/smpi/smpicc.in @@ -36,7 +36,7 @@ while [ -n "$1" ]; do esac done -CMDLINE="${CC} ${CFLAGS} ${CMDLINE} ${INCLUDEARGS} ${CMAKE_LINKARGS} ${LINKARGS}" +CMDLINE="${CC} ${CFLAGS} ${INCLUDEARGS} ${CMAKE_LINKARGS} ${CMDLINE} ${LINKARGS}" #echo "${CMDLINE}" ${CMDLINE} -- 2.20.1