diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2002-05-14 13:46:23 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2002-05-14 13:46:23 +0000 |
commit | 90f3b81b4a1566a9d4589d3c38d37e7937a422ac (patch) | |
tree | 0e189ecbadfb57be6713ed2d2e547e65d2dc8882 /lang/icc | |
parent | Wrapper 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/icc')
-rw-r--r-- | lang/icc/files/ld | 5 |
1 files changed, 3 insertions, 2 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 "$@" |