Skip to content

Commit

Permalink
luneos-features.inc: Use lld instead of gold
Browse files Browse the repository at this point in the history
* gold causes TMPDIR references in binaries leading to a lot of
  QA issues which aren't easy to fix and hide other possible causes
  for TMPDIR references.

  See:
  openembedded/meta-openembedded#675 (comment)
  openembedded/meta-openembedded#675 (comment)

* gold is getting much less attention in last years than lld, mold or
  even good old bfd, most of the improvements from gold were already
  imported to bfd.

  As we're already using meta-clang and clang for building webruntime
  recipes, it makes sense to switch to lld now.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
  • Loading branch information
shr-project committed Aug 4, 2023
1 parent e657c3b commit a189f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-luneos/conf/distro/include/luneos-features.inc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ WEBOS_DISTRO_FEATURES_USB = "usbhost usbgadget"
WEBOS_DISTRO_FEATURES_CONNECTIVITY = "bluetooth 3g wifi bluez5 nfc"
WEBOS_DISTRO_FEATURES_NETWORKING = "nfs zeroconf"

WEBOS_DISTRO_FEATURES_LD = "ld-is-gold"
WEBOS_DISTRO_FEATURES_LD = "ld-is-lld"

WEBOS_DISTRO_FEATURES_INIT = "systemd"
WEBOS_DISTRO_FEATURES_INIT_CONSIDERED = "sysvinit"
Expand Down

0 comments on commit a189f36

Please sign in to comment.