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
be a little more tricky and hopefully more portable
[simgrid.git]
/
src
/
smpi
/
smpicc.in
diff --git
a/src/smpi/smpicc.in
b/src/smpi/smpicc.in
index 03c26b3404cb76f02cee41adf00d6ab3e10ac449..3b501a7ab7cebcd8f13b9449bca45dbd6fa3e951 100755
(executable)
--- a/
src/smpi/smpicc.in
+++ b/
src/smpi/smpicc.in
@@
-1,4
+1,4
@@
-#! /
bin/
bash
+#! /
usr/bin/env
bash
CC=@CMAKE_C_COMPILER@
CC=@CMAKE_C_COMPILER@
@@
-6,7
+6,7
@@
INCLUDEARGS="@includeflag@"
CMAKE_LINKARGS="-L@libdir@"
if [ "@WIN32@" != "1" ]; then
CMAKE_LINKARGS="-L@libdir@"
if [ "@WIN32@" != "1" ]; then
- CFLAGS="-Dmain=smpi_simulated_main_
_
"
+ CFLAGS="-Dmain=smpi_simulated_main_"
LINKARGS="-lsimgrid"
else
CFLAGS="-include @includedir@/smpi/smpi_main.h"
LINKARGS="-lsimgrid"
else
CFLAGS="-include @includedir@/smpi/smpi_main.h"