A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
model-checker : variable used ifdef MC_VERBOSE
[simgrid.git]
/
src
/
smpi
/
smpiff.in
diff --git
a/src/smpi/smpiff.in
b/src/smpi/smpiff.in
index
315349d
..
b86184b
100644
(file)
--- a/
src/smpi/smpiff.in
+++ b/
src/smpi/smpiff.in
@@
-1,7
+1,8
@@
#! /bin/bash
#! /bin/bash
-prefix="@prefix@"
+prefix="@
exec_
prefix@"
-ARGS="-DMAIN__=user_main -Diargc_=smpi_process_argc -Dgetarg_=smpi_process_getarg -lf2c"
+ARGS="-DMAIN__=user_main -Diargc_=smpi_process_argc -Dgetarg_=smpi_process_getarg"
+LINKARGS="-lf2c"
SRCFILES=""
while [ -n "$1" ]; do
SRCFILES=""
while [ -n "$1" ]; do
@@
-16,10
+17,14
@@
while [ -n "$1" ]; do
SRCFILES="${SRCFILES} ${SRCFILE}"
;;
*)
SRCFILES="${SRCFILES} ${SRCFILE}"
;;
*)
+ if [ "${ARG}" = "-c" ]; then
+ LINKARGS=""
+ fi
ARGS="${ARGS} ${ARG}"
;;
esac
done
ARGS="${ARGS} ${ARG}"
;;
esac
done
+ARGS="${ARGS} ${LINKARGS}"
if [ -n "${SRCFILES}" ]
then
if [ -n "${SRCFILES}" ]
then