Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654094 - www-client/chromium add use flags for doing an Official Build and a Debug Build
Summary: www-client/chromium add use flags for doing an Official Build and a Debug Build
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-25 19:07 UTC by Michele Renosto
Modified: 2018-04-26 15:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Renosto 2018-04-25 19:07:53 UTC
On Linux, compared to a release build,'is_official_build=true' turns on LTO, which makes the first link take several minutes on a fast machine and produces a faster binary. 
It requires LLD and some patches if you want to use system libraries (see arch's "ebuild" https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/chromium ).

Additionally it may be useful to have an use flag to disable debugging with these flags:

symbol_level
strip_debug_info
sanitizer_no_symbols
blink_symbol_level

and to build with ' link_pulseaudio=true ' when the pulseaudio flag is set.