From patchwork Wed Oct 12 03:10:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Marchi X-Patchwork-Id: 1941 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp2408704wrs; Tue, 11 Oct 2022 20:10:29 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ZXjzMCgL+h8CQmZt1DKXTvMJ43Gl3rSvr7PvLnMWy7vv9muBjWmfdZpk8tFvJz9ROnCon X-Received: by 2002:a05:6402:1e96:b0:459:68bb:867 with SMTP id f22-20020a0564021e9600b0045968bb0867mr25259732edf.45.1665544228694; Tue, 11 Oct 2022 20:10:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665544228; cv=none; d=google.com; s=arc-20160816; b=lWm9BGsZcTV4Jdjm3ttT05g1fWiZST3DInZZILnTZkna79DxwxjtR0ddM0fnMiHHT4 /LtAY9C2RrUjxjxBR/ms4p8iQ09M2x+g2a20opw2isPREwzI0n0yaMUbd1SRaxvl71xu jkLLBeiro2IAmh4N63yx1NxRv6ncxD7d1V2o/I7zeq1yiR9cZOGwQLszUQ4BQd9qN/0X 1y3ckGa/w+skxEyrhjStOfwAwEADrlYtdr1L/JwWF821OuahKeVH+RmUsgHDx4gkn7Yn p7kMR7lv4tG3UYVW99BeviqXqlsazvNY6ldo3YRP94btsp6Qqp6suUrViM1U4a9qcBcO bpSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:reply-to:from:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dkim-filter:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=zlLVhQGtcaFdA4xMYi8uHkRc8AONv9WmwslVZdULjQ4=; b=wIYV4hUabKkmSt4Cr6EIfXyAM5EDkzNGoto1nGKhUbb8ruTJZbjFKyyFPDDW5547iC w5CtHMKV5ELKXJRv6aJKt/3ifmMH+2iEk9M0h3To6ZNnB2ChMbVguhRv4obhqR4UoY0X hLkCQ5pqMEZrzRZ9EyZFY7rj+LOAluuMIaX03IYFkIxJWE5ObHFWBwtwaLS6ivIsn5vW lQikPQWKs3zyEiFFkjeJ21fqZ9c0wckSZpr5Iq2hivOnm1GuZHUkSrKE2Tv0yMRO8Syz f1iwDhmTrZ5187AoeJlZtSmfhGoo15ZiMbMDE6OlxIh4UINvyakYaLZ5Y6CT8ymunfzb gluQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=y7aFMh4x; 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 sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id qb20-20020a1709077e9400b0078396eb97c1si6247923ejc.382.2022.10.11.20.10.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 20:10:28 -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=y7aFMh4x; 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 A570C38515DD for ; Wed, 12 Oct 2022 03:10:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A570C38515DD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665544227; bh=zlLVhQGtcaFdA4xMYi8uHkRc8AONv9WmwslVZdULjQ4=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=y7aFMh4xh9LGuO2j8YuO1DTGvo3YK7NpyTEudfeod+uZ6UmpdIXQZatcI7TwgbcYK 2zyqg970q7XYMjUpv93sdVcIpsiMpxufOoizaVwopkV/mNt2E7XzPZ/UtK3f+WNICw 7bozXOd5oNonGhCidbaXvgtTaP9+rcuXM1MZ8aU8= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by sourceware.org (Postfix) with ESMTPS id EFFE03856DC8; Wed, 12 Oct 2022 03:10:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EFFE03856DC8 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 29C3A760015591 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Oct 2022 23:10:12 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 29C3A760015591 Received: from simark.localdomain (unknown [217.28.27.60]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 2F4AA1E0D5; Tue, 11 Oct 2022 23:10:07 -0400 (EDT) To: gdb-patches@sourceware.org, binutils@sourceware.org Subject: [pushed] Re-apply "Pass PKG_CONFIG_PATH down from top-level Makefile" Date: Tue, 11 Oct 2022 23:10:05 -0400 Message-Id: <20221012031005.237446-1-simon.marchi@polymtl.ca> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Wed, 12 Oct 2022 03:10:07 +0000 X-Spam-Status: No, score=-3189.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Simon Marchi via Binutils From: Simon Marchi Reply-To: Simon Marchi Cc: Simon Marchi Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746449704829273658?= X-GMAIL-MSGID: =?utf-8?q?1746449704829273658?= From: Simon Marchi Commit 228cf97dd3c8 ("Merge configure.ac from gcc project") undid the change originally done in de83289ef32e ("Pass PKG_CONFIG_PATH down from top-level Makefile"). Re-apply it. Change-Id: I91138dfca41c43b05e53e445f62e4b27882536bf --- configure | 2 ++ configure.ac | 1 + 2 files changed, 3 insertions(+) base-commit: 1639fab33b5932e1a5e88e29273996f70047da85 diff --git a/configure b/configure index 4d328b735a35..9ea8034f5d7f 100755 --- a/configure +++ b/configure @@ -621,6 +621,7 @@ CXX_FOR_TARGET CC_FOR_TARGET RANLIB_PLUGIN_OPTION AR_PLUGIN_OPTION +PKG_CONFIG_PATH GDCFLAGS READELF OTOOL @@ -12932,6 +12933,7 @@ fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -plugin option" >&5 $as_echo_n "checking for -plugin option... " >&6; } diff --git a/configure.ac b/configure.ac index 47931ff4e9e9..8af83cc98d3c 100644 --- a/configure.ac +++ b/configure.ac @@ -3654,6 +3654,7 @@ AC_SUBST(CFLAGS) AC_SUBST(CXXFLAGS) AC_SUBST(GDC) AC_SUBST(GDCFLAGS) +AC_SUBST(PKG_CONFIG_PATH) GCC_PLUGIN_OPTION(PLUGIN_OPTION) AR_PLUGIN_OPTION=