Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 669239 Details for
Bug 751835
usr-ldscript.eclass: ld: unknown option: --version on MacOS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A fix for querying ld kind
gold-check.patch (text/plain), 718 bytes, created by
Alexander Bezrukov
on 2020-10-30 04:21:27 UTC
(
hide
)
Description:
A fix for querying ld kind
Filename:
MIME Type:
Creator:
Alexander Bezrukov
Created:
2020-10-30 04:21:27 UTC
Size:
718 bytes
patch
obsolete
>diff -ur a/usr-ldscript.eclass b/usr-ldscript.eclass >--- a/usr-ldscript.eclass 2020-10-30 06:26:44.734969297 +0300 >+++ b/usr-ldscript.eclass 2020-10-30 07:07:46.209653829 +0300 >@@ -64,10 +64,15 @@ > dodir /${libdir} > fi > >+ case ${CHOST} in >+ *-darwin*) local versionflag=-v ;; >+ *) local versionflag=--version ;; >+ esac >+ > # OUTPUT_FORMAT gives hints to the linker as to what binary format > # is referenced ... makes multilib saner > local flags=( ${CFLAGS} ${LDFLAGS} -Wl,--verbose ) >- if $(tc-getLD) --version | grep -q 'GNU gold' ; then >+ if $(tc-getLD) ${versionflag} | grep -q 'GNU gold' ; then > # If they're using gold, manually invoke the old bfd. #487696 > local d="${T}/bfd-linker" > mkdir -p "${d}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 751835
: 669239