From: Augustin Degomme Date: Fri, 21 Sep 2018 15:05:20 +0000 (+0200) Subject: pass linkargs before cmdargs to avoid overriding a potential -std argument X-Git-Tag: v3_21~55^2~2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/11c619824e2acd338705a14680d99aaad4b80506 pass linkargs before cmdargs to avoid overriding a potential -std argument --- diff --git a/src/smpi/smpicxx.in b/src/smpi/smpicxx.in index 1e6b88d093..131f4e3210 100755 --- a/src/smpi/smpicxx.in +++ b/src/smpi/smpicxx.in @@ -70,8 +70,8 @@ list_set CMDLINE "${CXX}" list_add_not_empty CMDLINE "${CXXFLAGS}" list_add_not_empty CMDLINE ${INCLUDEARGS} list_add_not_empty CMDLINE ${CMAKE_LINKARGS} -list_add_not_empty CMDLINE "${CMDARGS}" list_add_not_empty CMDLINE "${LINKARGS}" +list_add_not_empty CMDLINE "${CMDARGS}" eval $(list_get CMDLINE) "$@"