diff options
author | Alexander Leidinger <netchild@FreeBSD.org> | 2003-04-18 09:10:22 +0000 |
---|---|---|
committer | Alexander Leidinger <netchild@FreeBSD.org> | 2003-04-18 09:10:22 +0000 |
commit | fe4d1d2986f21d6dc18e0bc497ac91272a3cd3fa (patch) | |
tree | 81d20b1294884061831f42679be2c0daf5a5995b /lang/icc7/files/patch-ia32::bin::icpc | |
parent | Update to 0.2.1 (diff) |
- back out special '-I' handling, it causes problems with the stlport [1]
(this may break ports which depend upon OpenSSL from ports which was
compiled as a base system replacement because it includes a system
header directory again)
- ignore "-pipe" in CFLAGS, this should unbreak some ports with hardcoded
"-pipe"
Noticed by: Krzysztof Parzyszek <kristof@swissmail.org> [1]
Tested by: Krzysztof Parzyszek <kristof@swissmail.org> [1]
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; |