package/{clang,lld}: disable shared lib build for the host variant
This is similar to the llvm package which also disables shared libs for the host variant. Signed-off-by: Michael Nosthoff <buildroot@heine.tech> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
38e660af4b
commit
d8cf79e187
@ -33,6 +33,7 @@ CLANG_CONF_OPTS += -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON
|
|||||||
# By setting BUILD_SHARED_LIBS to OFF, we generate multiple static
|
# By setting BUILD_SHARED_LIBS to OFF, we generate multiple static
|
||||||
# libraries (the same way as host's clang build) and finally
|
# libraries (the same way as host's clang build) and finally
|
||||||
# libclang.so to be installed on the target.
|
# libclang.so to be installed on the target.
|
||||||
|
HOST_CLANG_CONF_OPTS += -DBUILD_SHARED_LIBS=OFF
|
||||||
CLANG_CONF_OPTS += -DBUILD_SHARED_LIBS=OFF
|
CLANG_CONF_OPTS += -DBUILD_SHARED_LIBS=OFF
|
||||||
|
|
||||||
# Default is Debug build, which requires considerably more disk space
|
# Default is Debug build, which requires considerably more disk space
|
||||||
|
@ -19,6 +19,9 @@ HOST_LLD_DEPENDENCIES = host-llvm
|
|||||||
# https://reviews.llvm.org/D57264
|
# https://reviews.llvm.org/D57264
|
||||||
HOST_LLD_CONF_OPTS += -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON
|
HOST_LLD_CONF_OPTS += -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON
|
||||||
|
|
||||||
|
# build as static libs as is done in llvm & clang
|
||||||
|
HOST_LLD_CONF_OPTS += -DBUILD_SHARED_LIBS=OFF
|
||||||
|
|
||||||
# GCC looks for tools in a different path from LLD's default installation path
|
# GCC looks for tools in a different path from LLD's default installation path
|
||||||
define HOST_LLD_CREATE_SYMLINKS
|
define HOST_LLD_CREATE_SYMLINKS
|
||||||
mkdir -p $(HOST_DIR)/$(GNU_TARGET_NAME)/bin
|
mkdir -p $(HOST_DIR)/$(GNU_TARGET_NAME)/bin
|
||||||
|
Loading…
Reference in New Issue
Block a user