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
we now only have one build mode for win, as mc is irrelevant for now
[simgrid.git]
/
src
/
smpi
/
smpicc.in
diff --git
a/src/smpi/smpicc.in
b/src/smpi/smpicc.in
index 833cfa8688b2e69beb2864b4fe05d30c528fb02f..36ddd2b0fb38c44502a9e3abbc818ea8ab682132 100755
(executable)
--- a/
src/smpi/smpicc.in
+++ b/
src/smpi/smpicc.in
@@
-6,11
+6,11
@@
INCLUDEARGS="@includeflag@"
CMAKE_LINKARGS="-L@libdir@"
if [ "@WIN32@" != "1" ]; then
CMAKE_LINKARGS="-L@libdir@"
if [ "@WIN32@" != "1" ]; then
-
LINKARGS="-lsimgrid -lsmpi -lm
"
-
CFLAGS="-O2 -Dmain=smpi_simulated_main
"
+
CFLAGS="-Dmain=smpi_simulated_main_
"
+
LINKARGS="-lsimgrid
"
else
else
- CFLAGS="-
O2 -
include @includedir@/smpi/smpi_main.h"
- LINKARGS="@libdir@\libsimgrid.dll
@libdir@\libsmpi.dll
"
+ CFLAGS="-include @includedir@/smpi/smpi_main.h"
+ LINKARGS="@libdir@\libsimgrid.dll"
fi
CMDLINE=""
fi
CMDLINE=""
@@
-19,6
+19,7
@@
while [ -n "$1" ]; do
shift
case "${ARG}" in
-c)
shift
case "${ARG}" in
-c)
+ CMAKE_LINKARGS=""
LINKARGS=""
CMDLINE="${CMDLINE} -c "
;;
LINKARGS=""
CMDLINE="${CMDLINE} -c "
;;