[Buildroot] [PATCH 10/11] toolchain: add a warning when Clang is used as cross-compiler
Romain Naour
romain.naour at smile.fr
Fri Sep 6 09:09:46 UTC 2019
Signed-off-by: Romain Naour <romain.naour at smile.fr>
Cc: Matt Weber <matthew.weber at rockwellcollins.com>
Cc: Valentin Korenblit <valentinkorenblit at gmail.com>
---
toolchain/Config.in | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/toolchain/Config.in b/toolchain/Config.in
index bd2c547ff1..570f029cac 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -37,6 +37,12 @@ config BR2_TOOLCHAIN_USES_MUSL
select BR2_TOOLCHAIN_HAS_UCONTEXT
select BR2_TOOLCHAIN_SUPPORTS_PIE if !BR2_STATIC_LIBS
+if BR2_USER_HOST_CLANG_AS_CROSS_COMPILER
+comment "-------------------------------------------------------"
+comment "Clang will be used as C/C++ cross-compiler ! "
+comment "-------------------------------------------------------"
+endif
+
choice
prompt "Toolchain type"
help
--
2.21.0
More information about the buildroot
mailing list