nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc39d93
)
gccx: fix for linking with C libs for native interface
author
Alexis Laferrière
<alexis.laf@xymus.net>
Sat, 18 Feb 2012 23:22:35 +0000
(18:22 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Thu, 12 Apr 2012 19:38:16 +0000
(15:38 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
bin/gccx
patch
|
blob
|
history
diff --git
a/bin/gccx
b/bin/gccx
index
8159f30
..
749e996
100755
(executable)
--- a/
bin/gccx
+++ b/
bin/gccx
@@
-81,7
+81,7
@@
while [ $stop = false ]; do
-R) recompile=true; shift;;
-O) OPTS="$OPTS -O2" ext="_savo"; shift;;
-i) CC="/opt/intel/cc/10.1.015/bin/icc -O2" ext="_savi"; shift;;
- -l) libs="$libs -l$2"; shift;;
+ -l) libs="$libs -l$2"; shift; shift;;
-ll) CC="clang --ansi --pedantic -O3"; ext="_savll"; shift;;
-I) OPTS="$OPTS -I $2"; shift; shift;;
-o) out="$2"; shift; shift;;