[Buildroot] [PATCH] package/llvm: set the path to llvm-config
Peter Korsgaard
peter at korsgaard.com
Thu Jan 17 08:55:20 UTC 2019
>>>>> "Romain" == Romain Naour <romain.naour at smile.fr> writes:
> While building llvm for the target (x86_64), the build failded due to
> path poisoning (-I/usr/include/libxml2) while building NATIVE tools
> (i.e for the host). The llvm package try to build a tool for the host
> with the cross-compiler which doesn't work when the paranoid toolchain
> wrapper (BR2_COMPILER_PARANOID_UNSAFE_PATH) is enabled.
> We know that llvm (target) needs llvm-tablegen and llvm-config build by
> host-llvm, but only LLVM_TABLEGEN is provided by llvm.mk. Adding
> LLVM_CONFIG_PATH=$(HOST_DIR)/bin/llvm-config for llvm (target)
> fixes the path poisoining issue since llvm doesn't build the NATIVE
> variant.
> Signed-off-by: Romain Naour <romain.naour at smile.fr>
> Cc: Valentin Korenblit <valentinkorenblit at gmail.com>
> Cc: Matthew Weber <matthew.weber at rockwellcollins.com>
Committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list