diff options
Diffstat (limited to 'lang/icc7/files/patch-ia32::bin::icpc')
-rw-r--r-- | lang/icc7/files/patch-ia32::bin::icpc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/icc7/files/patch-ia32::bin::icpc b/lang/icc7/files/patch-ia32::bin::icpc index 712e1925aea8..a1539954756f 100644 --- a/lang/icc7/files/patch-ia32::bin::icpc +++ b/lang/icc7/files/patch-ia32::bin::icpc @@ -1,6 +1,6 @@ --- ia32/bin/icpc.orig Fri Jan 10 16:47:29 2003 +++ ia32/bin/icpc Fri Jan 10 17:19:03 2003 -@@ -1,34 +1,61 @@ +@@ -1,34 +1,65 @@ #!/bin/sh +PREFIX=@@PREFIX@@ @@ -64,10 +64,14 @@ + unset val1 + set -- "$@" "-Qoption,ld,-MT" + fi ++ if [ "${val1}" = "-pipe" ] ; then ++ unset val1 ++ set -- "$@" ++ fi + set -- "$@" "$val1" + i=$(($i+1)) + done -+ exec ${PREFIX}/intel/compiler70/ia32/bin/icpcbin -I${PREFIX}/intel/compiler70/ia32/include -I${PREFIX}/intel/compiler70/ia32/include/substitute_headers "$@"; ++ exec ${PREFIX}/intel/compiler70/ia32/bin/icpcbin "$@"; else - exec -a "<INSTALLDIR>/compiler70/ia32/bin/icpc" <INSTALLDIR>/compiler70/ia32/bin/icpcbin; + exec ${PREFIX}/intel/compiler70/ia32/bin/icpcbin; |