From 8cfc9c72b78393412b0bc39cee08f668c8360110 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Sat, 18 Feb 2012 18:22:35 -0500 Subject: [PATCH] gccx: fix for linking with C libs for native interface MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- bin/gccx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/gccx b/bin/gccx index 8159f30..749e996 100755 --- 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;; -- 1.7.9.5