summaryrefslogtreecommitdiffstats
path: root/lang/icc/files/patch-ia32::bin::icc
diff options
context:
space:
mode:
Diffstat (limited to 'lang/icc/files/patch-ia32::bin::icc')
-rw-r--r--lang/icc/files/patch-ia32::bin::icc8
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/icc/files/patch-ia32::bin::icc b/lang/icc/files/patch-ia32::bin::icc
index 5f637a0..2085422 100644
--- a/lang/icc/files/patch-ia32::bin::icc
+++ b/lang/icc/files/patch-ia32::bin::icc
@@ -1,6 +1,6 @@
--- ia32/bin/icc.orig Fri Jan 10 16:57:18 2003
+++ ia32/bin/icc Fri Jan 10 17:09:38 2003
-@@ -1,34 +1,68 @@
+@@ -1,34 +1,72 @@
#!/bin/sh
+PREFIX=@@PREFIX@@
@@ -71,10 +71,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/iccbin -I${PREFIX}/intel/compiler70/ia32/include -I${PREFIX}/intel/compiler70/ia32/include/substitute_headers "$@";
++ exec ${PREFIX}/intel/compiler70/ia32/bin/iccbin "$@";
else
- exec -a "<INSTALLDIR>/compiler70/ia32/bin/icc" <INSTALLDIR>/compiler70/ia32/bin/iccbin;
+ exec ${PREFIX}/intel/compiler70/ia32/bin/iccbin;
OpenPOWER on IntegriCloud