From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-sender-0.a4lg.com (mail-sender.a4lg.com [153.120.152.154]) by sourceware.org (Postfix) with ESMTPS id 116103858CDB for ; Wed, 21 Sep 2022 05:56:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 116103858CDB Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=irq.a4lg.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=irq.a4lg.com Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail-sender-0.a4lg.com (Postfix) with ESMTPSA id 63359300089; Wed, 21 Sep 2022 05:56:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irq.a4lg.com; s=2017s01; t=1663739801; bh=eP2DwhqaZwY8Ejbs3n9fpIfVVw1KtVxFlMWJgZLILds=; h=Message-ID:Date:Mime-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=TkdIdRN+7E195XBtQ1QX3IOfNBqVODzwxXjZmgJip7jbB5f6RnKV865p42wyJ7CPr slILmKKO82D9fsvGZFZKfIzYjGXypecHeMxYCfIdelyODPhupmojzZlBE3FShJUKlj kZBhgP1GOw9VpgRnuOfE9+9aH4niiazHAJXgFDzs= Message-ID: Date: Wed, 21 Sep 2022 14:56:40 +0900 Mime-Version: 1.0 Subject: Re: [PATCH 1/1] configure: Pass CPPFLAGS_FOR_BUILD to subdirs To: Nick Clifton Cc: binutils@sourceware.org References: <459fb3e2-e4fe-54eb-22b0-19f1a90ae6d1@redhat.com> Content-Language: en-US From: Tsukasa OI In-Reply-To: <459fb3e2-e4fe-54eb-22b0-19f1a90ae6d1@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2022/09/20 21:53, Nick Clifton wrote: > Hi Tsukasa, > >> ChangeLog: >> >>     * configure.ac: Pass CPPFLAGS_FOR_BUILD to subdirectories. >>     * configure: Regenerate. > Patch approved - please apply. > > Note - you may wish to submit a copy of this patch to the gcc-patches > mailing list as well, since gcc and binutils/gdb try to share the top > level configure files. > > Cheers >   Nick > > Hi Nick, I found that GCC already has a superset of this patch. Commit 84401ce5fb4e ("[PATCH 1/5] Makefile.in: Ensure build CPP/CPPFLAGS is used for build targets") is the one. I will commit my patchset as is (because this is sufficient to resolve Binutils side issue) but also will seek an opportunity to sync with this when I revisit configure scripts again (currently, I'm working on RISC-V (various parts) and disassembler improvements on Arm and AArch64). Thanks, Tsukasa