[Buildroot] [PATCH v6 3/4] lld: new package
Valentin Korenblit
valentin.korenblit at smile.fr
Wed Jul 11 09:59:02 UTC 2018
Hello Joseph,
On 07/11/2018 01:42 AM, Joseph Kogut wrote:
> +++ b/package/lld/lld.mk
> @@ -0,0 +1,15 @@
> +################################################################################
> +#
> +# lld
> +#
> +################################################################################
> +
> +LLD_VERSION = 6.0.0
> +LLD_SITE = https://llvm.org/releases/$(LLD_VERSION)
> +LLD_SOURCE = lld-$(LLD_VERSION).src.tar.xz
> +LLD_LICENSE = NCSA
> +LLD_LICENSE_FILES = LICENSE.TXT
> +LLD_SUPPORTS_IN_SOURCE_BUILD = NO
> +HOST_LLD_DEPENDENCIES = host-llvm
> +
> +$(eval $(host-cmake-package))
I've just checked that lld is linking against libLLVM static libs.
I had the same problem with clang, to avoid this:
HOST_LLD_CONF_OPTS += -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_DYLIB_COMPONENTS=all
Best regards,
Valentin
More information about the buildroot
mailing list