aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2002-05-14 13:46:23 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2002-05-14 13:46:23 +0000
commit90f3b81b4a1566a9d4589d3c38d37e7937a422ac (patch)
tree0e189ecbadfb57be6713ed2d2e547e65d2dc8882
parentec5128ef11407f88bcc04eb73ef271a0d163e789 (diff)
downloadports-90f3b81b4a1566a9d4589d3c38d37e7937a422ac.tar.gz
ports-90f3b81b4a1566a9d4589d3c38d37e7937a422ac.zip
Notes
-rw-r--r--lang/icc/files/ld5
-rw-r--r--lang/icc7/files/ld5
2 files changed, 6 insertions, 4 deletions
diff --git a/lang/icc/files/ld b/lang/icc/files/ld
index 7482473ba62c..3c228fb5d445 100644
--- a/lang/icc/files/ld
+++ b/lang/icc/files/ld
@@ -17,7 +17,8 @@ while [ $i -lt $argc ] ; do
val=$1
shift
case $val in
- -limf|-lirc|-lcprts|-lunwind|\
+ # there was also "-lirc", but it a test with -lirc works here
+ -limf|-lcprts|-lunwind|\
${PREFIX}/intel/compiler60/ia32/lib/icrt.link|\
-Qy\
)
@@ -59,7 +60,7 @@ while [ $i -lt $argc ] ; do
if [ ${#val} -gt 0 ] ; then
set -- "$@" "$val"
fi
- let i=i+1
+ i=$(($i+1))
done
# run FreeBSD's ld with our new args
exec ${PREFIX}/intel/compiler60/ia32/bin/real/ld "$@"
diff --git a/lang/icc7/files/ld b/lang/icc7/files/ld
index 7482473ba62c..3c228fb5d445 100644
--- a/lang/icc7/files/ld
+++ b/lang/icc7/files/ld
@@ -17,7 +17,8 @@ while [ $i -lt $argc ] ; do
val=$1
shift
case $val in
- -limf|-lirc|-lcprts|-lunwind|\
+ # there was also "-lirc", but it a test with -lirc works here
+ -limf|-lcprts|-lunwind|\
${PREFIX}/intel/compiler60/ia32/lib/icrt.link|\
-Qy\
)
@@ -59,7 +60,7 @@ while [ $i -lt $argc ] ; do
if [ ${#val} -gt 0 ] ; then
set -- "$@" "$val"
fi
- let i=i+1
+ i=$(($i+1))
done
# run FreeBSD's ld with our new args
exec ${PREFIX}/intel/compiler60/ia32/bin/real/ld "$@"