mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
icc 8.0.066 now adds "-m elf_i386" in some circumstances. Remove this part
of the command line in the ld wrapper. Noticed by: Morten Rodal <morten@rodal.no>
This commit is contained in:
parent
9e82039785
commit
453e18e24e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108611
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= icc
|
||||
PORTVERSION= 8.0.066
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang linux devel
|
||||
MASTER_SITES=
|
||||
DISTNAME= l_cc_pc_${PORTVERSION:C/\.p.+$//}
|
||||
|
@ -184,7 +184,9 @@ main(int argc, char *argv[], char *envp[])
|
||||
|
||||
for (i = 0; i < argc; i++) {
|
||||
if (ARGCMP(i, "-CPLUSPLUS") || ARGCMP(i, "-MT") ||
|
||||
ARGCMP(i, "-PIC"))
|
||||
ARGCMP(i, "-PIC") ||
|
||||
(ARGCMP(i, "-m") && i<argc-1 && ARGCMP(i+1, "elf_i386")) ||
|
||||
(ARGCMP(i, "elf_i386") && i != 0 && ARGCMP(i-1, "-m")))
|
||||
continue;
|
||||
|
||||
/* prepend "-melf_i386" to the commandline */
|
||||
|
Loading…
x
Reference in New Issue
Block a user