From 11c619824e2acd338705a14680d99aaad4b80506 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Fri, 21 Sep 2018 17:05:20 +0200 Subject: [PATCH] pass linkargs before cmdargs to avoid overriding a potential -std argument --- src/smpi/smpicxx.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) "$@" -- 2.20.1