Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716758 - www-client/firefox[lto]: link does not respect MAKEOPTS
Summary: www-client/firefox[lto]: link does not respect MAKEOPTS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-09 07:06 UTC by phkb
Modified: 2020-04-14 23:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Full link command, note the -flto=4 argument (link.txt,2.30 KB, text/plain)
2020-04-09 07:06 UTC, phkb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phkb 2020-04-09 07:06:49 UTC
Created attachment 631440 [details]
Full link command, note the -flto=4 argument

I'm building firefox with lto enabled. I have MAKEOPTS="-j1" in my make.conf. However, the link command is called with -flto=4, which in turn runs "make -j4".

I suspect that there is some autodetection of the number of CPUs, as I have a quad-core CPU. Would it be possible to respect the -j option in MAKEOPTS here?
Comment 1 Larry the Git Cow gentoo-dev 2020-04-14 23:42:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00b314f5b85150726978be1bde94e13e5cdb0c85

commit 00b314f5b85150726978be1bde94e13e5cdb0c85
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-04-14 23:13:27 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-04-14 23:42:03 +0000

    www-client/firefox: make USE=lto respect MAKEOPTS
    
    Closes: https://bugs.gentoo.org/716758
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/firefox-68.7.0.ebuild |  8 +++++++-
 www-client/firefox/firefox-75.0.ebuild   | 11 +++++++++--
 2 files changed, 16 insertions(+), 3 deletions(-)