Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id ADBA6C433F5 for ; Sat, 9 Oct 2021 11:47:04 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4191A60EBD for ; Sat, 9 Oct 2021 11:47:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4191A60EBD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=korsgaard.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=buildroot.org Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 0684B40567; Sat, 9 Oct 2021 11:47:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8YZNWtFaGDVo; Sat, 9 Oct 2021 11:47:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 2367640431; Sat, 9 Oct 2021 11:47:02 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 9042F1BF36E for ; Sat, 9 Oct 2021 11:47:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8B63340431 for ; Sat, 9 Oct 2021 11:47:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yPdBj3oUqKwB for ; Sat, 9 Oct 2021 11:46:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by smtp2.osuosl.org (Postfix) with ESMTPS id 919E5403BA for ; Sat, 9 Oct 2021 11:46:59 +0000 (UTC) Received: (Authenticated sender: peter@casa-korsgaard.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 8609D20002; Sat, 9 Oct 2021 11:46:55 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.92) (envelope-from ) id 1mZAoY-0003UW-LH; Sat, 09 Oct 2021 13:46:54 +0200 From: Peter Korsgaard To: Giulio Benetti References: <20211004203535.923467-1-giulio.benetti@benettiengineering.com> Date: Sat, 09 Oct 2021 13:46:54 +0200 In-Reply-To: <20211004203535.923467-1-giulio.benetti@benettiengineering.com> (Giulio Benetti's message of "Mon, 4 Oct 2021 22:35:35 +0200") Message-ID: <877demv2s1.fsf@dell.be.48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Subject: Re: [Buildroot] [PATCH] package/mesa3d: remove unnecessary passing of CFLAGS X-BeenThere: buildroot@buildroot.org 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: Bernd Kuhls , Romain Naour , "Yann E . MORIN" , buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "Giulio" == Giulio Benetti writes: > This package uses meson-package infrastracture, so we don't need to > explicitly pass its additional CFLAGS to some variable. The only thing we > need to pass them is to use MESA3D_CFLAGS, because in package/pkg-meson.mk > we have: > $(2)_CFLAGS ?= $$(TARGET_CFLAGS) > that makes the work automatically, where $(2) is exactly the package name, > though $(2)_CFLAGS expands to MESA3D_CFLAGS. > So let's remove the MESA3D_CONF_OPTS += -DCMAKE_C_FLAGS="$(MESA3D_CFLAGS)" > line that has been added by mistake. > Note: this doesn't fix any bug, but remove an unnecessary and ambiguos line > Signed-off-by: Giulio Benetti Committed to 2021.02.x, 2021.05.x and 2021.08.x, thanks (together with 'package/mesa3d: fix build on m68k'). -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot