chromium: Do not enforce gold as default linker
PATCH 1/1 chromium: Do not enforce gold as default linker
Provide a knob USEGOLD however to enable it if desired
Signed-off-by Khem Raj <[email protected]>
Cc Denys Dmytriyenko <[email protected]>
--- recipes-browser/chromium/chromium-browser.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
recipes-browser/chromium/chromium-browser.inc +6 -1
@@ -200,7 +200,12 @@ python add_ozone_wayland_patches() { d.appendVar('SRC_URI', ' ' + d.getVar('OZONE_WAYLAND_EXTRA_PATCHES', False)) } -USEGOLD ?= "-Dlinux_use_gold_flags=1" +# uncomment below or set it in a bbappend if you want to use gold linker +# to link chromium irrespective of system linker, gold speeds up linking +# chromium ( 8mins to < 2mins on a decent xeon system) +# +#USEGOLD = "-Dlinux_use_gold_flags=1" +USE_GOLD ??= "" EXTRA_OEGYP = " \ -Dangle_use_commit_id=0 \
Signature · 1 line
2.13.2
USEGOLD
orUSE_GOLD
?
Quoted 37 lines · Khem Raj
Provide a knob USEGOLD however to enable it if desired
Signed-off-by Khem Raj <[email protected]>Cc Denys Dmytriyenko <[email protected]>--- recipes-browser/chromium/chromium-browser.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)recipes-browser/chromium/chromium-browser.inc +6
-1@@ -200,7 +200,12 @@ python add_ozone_wayland_patches() { d.appendVar('SRC_URI', ' ' + d.getVar('OZONE_WAYLAND_EXTRA_PATCHES', False)) } -USEGOLD ?= "-Dlinux_use_gold_flags=1" +# uncomment below or set it in a bbappend if you want to use gold linker +# to link chromium irrespective of system linker, gold speeds up linking +# chromium ( 8mins to < 2mins on a decent xeon system) +# +#USEGOLD = "-Dlinux_use_gold_flags=1" +USE_GOLD ??= "" EXTRA_OEGYP = " \-Dangle_use_commit_id=0 \--
2.13.2--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel