summaryrefslogtreecommitdiff
path: root/lang
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 /lang
parentWrapper script for ld, needed to link native binaries. (diff)
Oops, last commit was an old version, this one is at least able to link
build the LAME port with make CC=icc CFLAGS="-tpp6 -DNDEBUG" No port revision bump because of the short timeframe...
Notes
Notes: svn path=/head/; revision=59081
Diffstat (limited to 'lang')
-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 "$@"