Message ID | 20230807111029.2320238-46-arsen@aarsen.me |
---|---|
State | Unresolved |
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp1408896vqr; Mon, 7 Aug 2023 05:23:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEPI87md/vtjpxx3MssOcBRCn2XoKbS404jcLSrXA/Xg3VqgQC13VEoAQSHcoBXIOeoKRYV X-Received: by 2002:a17:907:a0c6:b0:99b:f8e5:710c with SMTP id hw6-20020a170907a0c600b0099bf8e5710cmr6522349ejc.51.1691410997653; Mon, 07 Aug 2023 05:23:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691410997; cv=none; d=google.com; s=arc-20160816; b=UazSyKVzcVOugROdvRh1OdeIiaiLrKKgtenKYttcvvonRnQByLuFVQvv+dEyFQxxkP 62mKNevMAKHxQeA+jiKbfFY4oaFJWzWlQSwYExUZvxx/0hE92wtOMxw4E1ZBA956c+u2 p3tWYqjRPcIhY+oGrxunsZkCelC4ao9axaERqy1wyuxM3WRVVktKLDsFnxZvIPdujFZe epLuBmP+XuRjNpJwBuSTc3Pc1HEAY9aIHxH7RHqUK97UgqQmIJgmDP0LZoks2/n/7hEZ Xq+mvZerBilmOyLPUJ+G4gxpxQk+FyC1/k5TrkiyIkawR+uALzMq0WccTyj3tMsTK17p DrMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=lksJoILviSxu1YLV08QV0M/gsCEuZ1fFFo9xV1X2vSA=; fh=tqQ0C9fmUAhiufglO5p3fwtX1KhJ+PqDbiseTNrf6PE=; b=sLe+oQVoGcVQZgZlXKo915eiUx8kAjZScn5kHRGq7noeRx/9nmPHccWCo79S6Ybc86 bExfI/TKbMbO1lDuQjHf2YEOi4kBXvtlZvAHC2Ugb05Fdb6ixCXwQgwgeHS3RpCnn7k/ qStGESjlN91cxMGUzb6eM8Xzo+q0xWBRL+4QXcrJfVxd7g9FbMyGyGk24elQxg5cnHsd Uhn4IvpvBZ57cLK+GHq++Sn7EaryO7BWRJyfPFoDpKYGHViL6j30kMm1aRkJuDg0L9oa PXBdZwNp5UI0BbFy/CocEDJLdrL4Mb0SUeRzPiqMA9LRhy+q6AMN1pi/jng/X8r0mahf H04A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b="TWUS/vuZ"; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id a14-20020a1709063a4e00b0099233867740si2414279ejf.144.2023.08.07.05.23.17 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Aug 2023 05:23:17 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b="TWUS/vuZ"; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 935D03894C1A for <ouuuleilei@gmail.com>; Mon, 7 Aug 2023 11:52:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 935D03894C1A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1691409133; bh=lksJoILviSxu1YLV08QV0M/gsCEuZ1fFFo9xV1X2vSA=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=TWUS/vuZWUXaqa1HVfP6CA0addF5KRphCAlqbl8YZYtFiXw7oojUEAq9uwHYd8OrC 2h/ijX28gsjfrUhlvVNCle1gA5tkpJWACgtsT/eNN9UvMSkZVyefz6dLwZlG9MVOIZ FnvLQ7brOb2tzHM7Ec124TZCloseDd7iKu6fa/5k= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org 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 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) To: gdb-patches@sourceware.org, binutils@sourceware.org Cc: =?utf-8?q?Arsen_Arsenovi=C4=87?= <arsen@aarsen.me> 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 X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> From: =?utf-8?q?Arsen_Arsenovi=C4=87_via_Binutils?= <binutils@sourceware.org> Reply-To: =?utf-8?q?Arsen_Arsenovi=C4=87?= <arsen@aarsen.me> Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773572978367814803 X-GMAIL-MSGID: 1773572978367814803 |
Series |
Synchronize shared build infrastructure with GCC tree
|
|
Checks
Context | Check | Description |
---|---|---|
snail/binutils-gdb-check | warning | Git am fail log |
Commit Message
Arsen Arsenović
Aug. 7, 2023, 11:07 a.m. UTC
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@