Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add gnu+11 flags to smpicxx as this seems needed
authordegomme <augustin.degomme@unibas.ch>
Thu, 29 Mar 2018 13:53:27 +0000 (15:53 +0200)
committerdegomme <augustin.degomme@unibas.ch>
Thu, 29 Mar 2018 13:53:27 +0000 (15:53 +0200)
src/smpi/smpicxx.in

index eb8dbe1..a9a0b5e 100755 (executable)
@@ -20,11 +20,11 @@ list_set CXXFLAGS
 list_set LINKARGS
 if [ "@WIN32@" != "1" ]; then
     # list_add CXXFLAGS "-Dmain=smpi_simulated_main_"
-    list_add CXXFLAGS "-fpic"
-    list_add LINKARGS "-shared" "-lsimgrid"
+    list_add CXXFLAGS "-fpic" "-std=gnu++11"
+    list_add LINKARGS "-shared" "-lsimgrid" "-std=gnu++11"
 else
-    list_add CXXFLAGS "-include" "@includedir@/smpi/smpi_main.h"
-    list_add LINKARGS "@libdir@\libsimgrid.dll"
+    list_add CXXFLAGS "-include" "@includedir@/smpi/smpi_main.h" "-std=gnu++11"
+    list_add LINKARGS "@libdir@\libsimgrid.dll" "-std=gnu++11"
 fi
 
 list_set CMDARGS