summaryrefslogtreecommitdiffstats
path: root/lang/icc
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2002-05-14 13:46:23 +0000
committernetchild <netchild@FreeBSD.org>2002-05-14 13:46:23 +0000
commitc84a02eb371d8e36e2f5f32b7629c45ded14c42e (patch)
treea815d6a10afbd522b2e9aeac2c3ea224b1276e71 /lang/icc
parent0ad0c9deb51b955aa470b31c9b6e50f6a332b59b (diff)
downloadFreeBSD-ports-c84a02eb371d8e36e2f5f32b7629c45ded14c42e.zip
FreeBSD-ports-c84a02eb371d8e36e2f5f32b7629c45ded14c42e.tar.gz
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...
Diffstat (limited to 'lang/icc')
-rw-r--r--lang/icc/files/ld5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/icc/files/ld b/lang/icc/files/ld
index 7482473..3c228fb 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 "$@"
OpenPOWER on IntegriCloud