Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Another attempt at fixing the Flag2 job of jenkins
[simgrid.git] / src / smpi / smpiff.in
index 9ec8cff..17c4c82 100644 (file)
@@ -1,6 +1,6 @@
 #!/usr/bin/env sh
 
-# Copyright (c) 2012-2022. The SimGrid Team. All rights reserved.
+# Copyright (c) 2012-2023. The SimGrid Team. All rights reserved.
 
 # This program is free software; you can redistribute it and/or modify it
 # under the terms of the license (GNU LGPL) which comes with this package.
@@ -12,7 +12,7 @@ REAL_FORTRAN_COMPILER=@SMPI_Fortran_COMPILER@
 
 @SMPITOOLS_SH@
 
-list_add INCLUDEARGS @includeflag@
+list_set INCLUDEARGS @includeflag@
 list_set CMAKE_LINKARGS "-L@libdir@"
 
 list_set FFLAGS @SMPI_Fortran_FLAGS@
@@ -128,7 +128,7 @@ while [ $# -gt 0 ]; do
             TRACE_CALL_LOCATION=1
             # This should be list_add FFLAGS but it's not possible
             # anymore: FFLAGS was already moved into CMDLINE above.
-            list_add_not_empty CMDLINE "-ffixed-line-length-none" "-cpp"
+            list_add CMDLINE "-ffixed-line-length-none" "-cpp"
             ;;
         -o)
             list_add CMDLINE "-o$1"