From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [IPv6:2001:67c:2050:0:465::101]) by sourceware.org (Postfix) with ESMTPS id 68E3D385E012; Mon, 7 Aug 2023 11:20:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 68E3D385E012 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=aarsen.me Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=aarsen.me Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4RKDPY6fvkz9sck; Mon, 7 Aug 2023 13:20:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aarsen.me; s=MBO0001; t=1691407201; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lksJoILviSxu1YLV08QV0M/gsCEuZ1fFFo9xV1X2vSA=; b=ciJ4xR8PVNaOzMLOsm+aOXPFdp1N54Utltfs86M7aKKT/O5YnyOSXSfxW5hyWNMgEKaRMU ipuV5UBlDdfZkiwM1dRlP/ZkSOHNwi7ezMs0VcReHLXlpos8jH/LeE2So5rZ6db99ZC75V DGM/e7WYeWMhDTTWeWR1RS+5E8MKvS8lBQ4J5nXzlRGKxsW6M1EiA6jUI6SqxLVKVyr2kL 3VIx7dK0vBmwz9vYSAyjCgr57PZCPt6emm9I2R2YPKJyXa20nxWZbQT2Ekfhokt2DF/Uzm HT4laesFD7brGN28QYP5YdB8raKfh2PF73oIrqYwQJpvWMA86ucCYB0UEVfheQ== From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= To: gdb-patches@sourceware.org, binutils@sourceware.org Cc: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Subject: [PATCH 45/45] toplevel: Substitute GDCFLAGS instead of using CFLAGS Date: Mon, 7 Aug 2023 13:07:48 +0200 Message-ID: <20230807111029.2320238-46-arsen@aarsen.me> In-Reply-To: <20230807111029.2320238-1-arsen@aarsen.me> References: <20230807111029.2320238-1-arsen@aarsen.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4RKDPY6fvkz9sck X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_INFOUSMEBIZ,RCVD_IN_DNSWL_LOW,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: r14-2875-g1ed21e23d6d4da ("Use substituted GDCFLAGS") already implemented this change, but only on the generated file rather than in the template it is generated from. ChangeLog: * Makefile.tpl: Substitute @GDCFLAGS@ instead of using $(CFLAGS). * Makefile.in: Regenerate. --- Makefile.in | 2 +- Makefile.tpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index d242a813ed7..c97130a2338 100644 --- a/Makefile.in +++ b/Makefile.in @@ -445,7 +445,7 @@ LIBCFLAGS = $(CFLAGS) CXXFLAGS = @CXXFLAGS@ LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates GOCFLAGS = $(CFLAGS) -GDCFLAGS = $(CFLAGS) +GDCFLAGS = @GDCFLAGS@ GM2FLAGS = $(CFLAGS) PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ diff --git a/Makefile.tpl b/Makefile.tpl index b0fbf9fe01a..36fa20950d4 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -448,7 +448,7 @@ LIBCFLAGS = $(CFLAGS) CXXFLAGS = @CXXFLAGS@ LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates GOCFLAGS = $(CFLAGS) -GDCFLAGS = $(CFLAGS) +GDCFLAGS = @GDCFLAGS@ GM2FLAGS = $(CFLAGS) PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ -- 2.41.0