Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
force -lm inclusion in smpicc
[simgrid.git] / src / smpi / smpicc.in
index cc4cfc4..72a3729 100755 (executable)
@@ -38,7 +38,7 @@ else
     else
        echo "Warning: smpicc pretends to be a regular compiler (SMPI_PRETEND_CC is set). Produced binaries will not be usable in SimGrid."
     fi
-    list_add LINKARGS "-lsimgrid" "-Wl,-z,defs"
+    list_add LINKARGS "-lsimgrid" "-lm" "-Wl,-z,defs"
 fi