From patchwork Sat Sep 7 09:40:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 1159312 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=smile.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=smile-fr.20150623.gappssmtp.com header.i=@smile-fr.20150623.gappssmtp.com header.b="agjpe5lJ"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46QTvQ2z3Dz9sDB for ; Sat, 7 Sep 2019 19:41:06 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BD73587E0B; Sat, 7 Sep 2019 09:41:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IQsEj2yRsocC; Sat, 7 Sep 2019 09:40:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 3E0F887E23; Sat, 7 Sep 2019 09:40:58 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id B89041BF401 for ; Sat, 7 Sep 2019 09:40:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A88D12051E for ; Sat, 7 Sep 2019 09:40:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kRphfvfF7mGW for ; Sat, 7 Sep 2019 09:40:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by silver.osuosl.org (Postfix) with ESMTPS id 4218120397 for ; Sat, 7 Sep 2019 09:40:46 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id r17so9076601wme.0 for ; Sat, 07 Sep 2019 02:40:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smile-fr.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=O8S0oKXdVEiY6hI2M/LyK+QLl/Mxb85Zx4qgQ//WtyE=; b=agjpe5lJLODlD9h/vNewEpL93iCFaEBSGRvwJqtik4XOL8Y03xeZXFbX60HC1eyQHf l+oHz+VNMsydkQEjlUUSb8YUZHRX9/O1hu1bT4gYLLFUTvzUieyBKqfpar7VXJ8DQpTX vifw+q4hsBiskIN8RtdYp9CsppJ7wQVmRJWWhlGSYEveuUo95Xpty/Iw3C8Xchzk4EAL 0jNaZIk7bqoZoxg3M1x0l+DwggXprp3KobyILQtNujsGGMe4K/Iyc5DOj8zvvoxlBWY0 S2tXNZaYUejEgbDnAX2sKU0YQzlhZdTTOJrJaV8RzX4cVfDl3H/Rm5HWO7jYxcEhl5Vj gwAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=O8S0oKXdVEiY6hI2M/LyK+QLl/Mxb85Zx4qgQ//WtyE=; b=WaAoqYlTUzk/jdoVq9AAlcl7XDMYykI7pdosRA+J6RkLHhLF9lJ9qewN+pRJJpSKrH azASghfWuZfQnoCDQWf6ID8sB1ZfoUTwxCfG502CUdokVyUpY1UIhSgFj0F6BIVmxttY aTttP0h9U5KR2agtTaW2UxzDfSeeRIL2PvbRCcQrp4fpSso8w1U64zOUkD4awaIDvP/N GlhFeFbBIeBfNdUIlC+qb5K6ihgMMPlK90ZOapejz2+ZypdR30ZpsF7NzKDN5EjR+BwK thNMCT1mGUwxrv9e46jFwQBe50VjH5ktkEDVwhW+GIV7ekeuw5n+0Mh/V3+h3c3YhF+N L29Q== X-Gm-Message-State: APjAAAXPRU7AzlB27CmwDEnT83/4XwPd7PrR5bCO5kSUxjwcu3+O/tfN kQUJuktW5fAB7o9V417vBsRzYlQRUjk= X-Google-Smtp-Source: APXvYqyRdzqeUwnFcX8pmn5EHVn+1sfg/g+8upmqy96+AvmKx8/j9MySUqeBEiIO9aEtFsjfaTizEg== X-Received: by 2002:a1c:1b58:: with SMTP id b85mr11213609wmb.95.1567849244663; Sat, 07 Sep 2019 02:40:44 -0700 (PDT) Received: from P-ASN-Evian.home (2a01cb0589880c00c543929d43aec786.ipv6.abo.wanadoo.fr. [2a01:cb05:8988:c00:c543:929d:43ae:c786]) by smtp.gmail.com with ESMTPSA id f13sm6384700wrq.3.2019.09.07.02.40.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Sep 2019 02:40:44 -0700 (PDT) From: Romain Naour To: buildroot@buildroot.org Date: Sat, 7 Sep 2019 11:40:26 +0200 Message-Id: <20190907094027.9537-12-romain.naour@smile.fr> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190907094027.9537-1-romain.naour@smile.fr> References: <20190907094027.9537-1-romain.naour@smile.fr> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 11/12] toolchain: add a warning when Clang is used as cross-compiler X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour , Valentin Korenblit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Romain Naour Cc: Matt Weber Cc: Valentin Korenblit --- 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