else
list_add CFLAGS "-fPIC"
if [ "x${SMPI_PRETEND_CC}" = "x" ]; then
- list_add CFLAGS "-include" "@includedir@/smpi/smpi_helpers.h"
+ list_add CFLAGS "-include" "\"@includedir@/smpi/smpi_helpers.h\""
list_add LINKARGS "-shared"
else
echo "Warning: smpicc pretends to be a regular compiler (SMPI_PRETEND_CC is set). Produced binaries will not be usable in SimGrid."
if [ -z "$SRCFILE" ] ; then
SRCFILE="$ARG"
fi
- list_add CMDARGS "${SRCFILE}"
+ list_add CMDARGS "\"${SRCFILE}\""
;;
'-version' | '--version')
printf '%b\n' "$SIMGRID_VERSION"
echo "$@"
[ "x$show" = x1 ] && exit 0
fi
-"$@"
+eval "$@"