From patchwork Tue Feb 5 11:03:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 1036631 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hnM/DVqv"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43v1sm4HyJz9sMx for ; Tue, 5 Feb 2019 22:03:56 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 545BE86DE7; Tue, 5 Feb 2019 11:03:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E-uxtOCLoxFl; Tue, 5 Feb 2019 11:03:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9C44486D6E; Tue, 5 Feb 2019 11:03:53 +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 005F31BF283 for ; Tue, 5 Feb 2019 11:03:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EFB2026673 for ; Tue, 5 Feb 2019 11:03:51 +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 TnQylui9uCXQ for ; Tue, 5 Feb 2019 11:03:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by silver.osuosl.org (Postfix) with ESMTPS id 9AE94220FB for ; Tue, 5 Feb 2019 11:03:49 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id s12so3124577wrt.4 for ; Tue, 05 Feb 2019 03:03:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=AfUrYBNl81u28xHLajJLFsvwiMN2TVAOUIIov1K4t+c=; b=hnM/DVqvUvXqLgXKClZmYjGdPKWsTlZsYm3nEhd+3b/7FemmwWebUWYsbz2T0/ii0+ JRN4G8nNEj6KPPDXqmxdGu015D3awvKchj62SvJRTZ0ARBAuWOpNH3BDzPVExY4DJbPy KAeCHOU4xOi0HOSyMfbT4JHnQ9vV5QL75Z0BzJoT1uiAvqbSxVhFz34fo5rCKp/be86p mpxe6YkXaJ7W9nyhSfluk8Y2kBDBol2bAg39pKF+ehBqdXtgYwx8jN7sekWRFGe0UPpd tV/6r3p8sy1jgtXM04ynBQ4kjEneQ74RFqBB7IzNtGKIH+bYxXAKNjcjKBWvy4px6CkY 8mog== 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:mime-version :content-transfer-encoding; bh=AfUrYBNl81u28xHLajJLFsvwiMN2TVAOUIIov1K4t+c=; b=aiUsTTOGh5YG+IV4Sfl0hG7PAscwAY1Q+5y1GDK8sNh68HSt7JvW4juFE2umR9hGZF dmwEZ3MMdfsSyl/KjiJorptwO2KpAlOUgD+oJGj2Dgz7EyjM/3lGWtF4hQOutdO+Zbke VEaPGES1JM1+yNLGTID+ckicbXxdlpoy+P4IdENrxpc2hFL1m/oBrA/HU2lvn7FayfZa 2nUPUFvWXMDm3rVvdkChJ1mDsj6ZWBD9zynlFlr9Fz5pAhvPE/OzAuuiH8sBz81kCHlJ GF5IPP8U0dvscFuXgumkT5/xGws172rpwG4awrw/9/0hsYsUqIRLSdwReCdFRD1mDvgs ZHEw== X-Gm-Message-State: AHQUAuZHLhgqXCeqkM0sbkdaE1hR92enX/FnV1kZrvfpQWDysNMQ2REg 8mhL4FGWBuKm6qC2klHLOCN4PjEqj6U= X-Google-Smtp-Source: AHgI3Iama8+I7xlEZGgO0YqAKuO88AELTpWsJOfDlnsveBPPQpXEj48S6zO9PEDqG7Rr+19QtTuQHw== X-Received: by 2002:adf:e54a:: with SMTP id z10mr3094400wrm.238.1549364627795; Tue, 05 Feb 2019 03:03:47 -0800 (PST) Received: from australia.vpn.alcatel-lucent.com ([2620:0:1055:fd00:57a8:6082:7724:fd53]) by smtp.gmail.com with ESMTPSA id c1sm10152009wmb.14.2019.02.05.03.03.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Feb 2019 03:03:47 -0800 (PST) From: Thomas De Schampheleire To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 12:03:42 +0100 Message-Id: <20190205110342.29725-1-patrickdepinguin@gmail.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH] Makefile: unexport 'PLATFORM' and 'OS' environment variables 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: Thomas De Schampheleire Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Thomas De Schampheleire Some package builds may fail when environment variables are present with the same names as make variables in a package. This is a bigger problem for environment variables with generic names, like 'PLATFORM' and 'OS'. 'PLATFORM' is for example a problem for host-acl. Signed-off-by: Thomas De Schampheleire --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 355a404e04..50a9f623b2 100644 --- a/Makefile +++ b/Makefile @@ -419,6 +419,8 @@ unexport TERMINFO unexport MACHINE unexport O unexport GCC_COLORS +unexport PLATFORM +unexport OS GNU_HOST_NAME := $(shell support/gnuconfig/config.guess)