diff options
Diffstat (limited to 'lang/icc7')
-rw-r--r-- | lang/icc7/files/ld | 5 |
1 files changed, 3 insertions, 2 deletions
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 "$@" |