Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
force -lm inclusion in smpicc
authordegomme <augustin.degomme@unibas.ch>
Wed, 18 Apr 2018 08:24:44 +0000 (10:24 +0200)
committerdegomme <augustin.degomme@unibas.ch>
Wed, 18 Apr 2018 08:24:44 +0000 (10:24 +0200)
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