summaryrefslogtreecommitdiff
path: root/lang/icc/files
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2003-08-21 14:55:43 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2003-08-21 14:55:43 +0000
commitd3c350851686f8ab4f507c3bde93a4039c702204 (patch)
treedd014e690b817301e75c9b9812b56a1b75e48c96 /lang/icc/files
parentFix preprocessor error for newer GCC. (diff)
- Update to 7.1.027.
- Teach the ld wrapper about /libexec on a recent -current. [1] Submitted by: Marius Strobl <marius@alchemy.franken.de> [1]
Notes
Notes: svn path=/head/; revision=87452
Diffstat (limited to 'lang/icc/files')
-rw-r--r--lang/icc/files/ld.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/icc/files/ld.c b/lang/icc/files/ld.c
index fb34af1edf94..01425e26f6ca 100644
--- a/lang/icc/files/ld.c
+++ b/lang/icc/files/ld.c
@@ -328,7 +328,11 @@ main(int argc, char *argv[], char *envp[])
/* Switch Linux stuff to FreeBSD counterparts. */
if (ARGCMP("/lib/ld-linux.so.2")) {
+#if __FreeBSD_version >= 501105
+ addarg(&al, "/libexec/ld-elf.so.1", 1);
+#else
addarg(&al, "/usr/libexec/ld-elf.so.1", 1);
+#endif
continue;
}
if (ARGCMP("-L/usr/lib")) {