summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-04-08 10:56:41 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2022-10-11 23:09:32 -0400
commit9e65489ac29a2b38417c4f17acf82187343751a6 (patch)
treed6f623969eb9e5bff7abb2e6df764f966584cf17
parent1639fab33b5932e1a5e88e29273996f70047da85 (diff)
downloadbinutils-gdb-9e65489ac29a2b38417c4f17acf82187343751a6.tar.gz
Re-apply "Pass PKG_CONFIG_PATH down from top-level Makefile"
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
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac1
2 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 4d328b735a3..9ea8034f5d7 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 47931ff4e9e..8af83cc98d3 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=