From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2041) id B7D793858016; Thu, 5 May 2022 17:26:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B7D793858016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Vladimir Mezentsev To: bfd-cvs@sourceware.org, gdb-cvs@sourceware.org Subject: [binutils-gdb] gprofng: use $host instead $target X-Act-Checkin: binutils-gdb X-Git-Author: Vladimir Mezentsev X-Git-Refname: refs/heads/master X-Git-Oldrev: d890c720b8c4daf8892a175296d8e88ec992c92d X-Git-Newrev: 1653ae5b8440e2182ac86974b99b603bc15aa163 Message-Id: <20220505172612.B7D793858016@sourceware.org> Date: Thu, 5 May 2022 17:26:12 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2022 17:26:12 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D1653ae5b8440= e2182ac86974b99b603bc15aa163 commit 1653ae5b8440e2182ac86974b99b603bc15aa163 Author: Vladimir Mezentsev Date: Thu May 5 00:08:19 2022 -0700 gprofng: use $host instead $target =20 By mistake, $target was used instead of $host to configure the gprogng = build. =20 gprofng/ChangeLog 2022-04-28 Vladimir Mezentsev =20 PR gprofng/29113 PR gprofng/29116 * configure.ac: Use $host instead $target. * libcollector/configure.ac: Likewise. * configure: Rebuild. * libcollector/configure: Rebuild. Diff: --- gprofng/configure | 9 ++------- gprofng/configure.ac | 9 ++------- gprofng/libcollector/configure | 2 +- gprofng/libcollector/configure.ac | 2 +- 4 files changed, 6 insertions(+), 16 deletions(-) diff --git a/gprofng/configure b/gprofng/configure index 6e38a140696..d0345ecdfbc 100755 --- a/gprofng/configure +++ b/gprofng/configure @@ -15780,18 +15780,13 @@ gprofng_cppflags=3D"-U_ASM" build_collector=3D build_src=3D =20 -# This is annoying: it means we have to pass --enable-shared explicitly to -# get gprofng, while the configure default is supposed to be that shared l= ibs -# are on by default. But as long as libiberty has code like this, so must -# we... - - case "${target}" in + case "${host}" in x86_64-*-linux*) build_src=3Dtrue build_collector=3Dtrue ;; i?86-*-linux*) - build_collector=3Dtrue + build_src=3Dtrue build_collector=3Dtrue ;; aarch64-*-linux*) diff --git a/gprofng/configure.ac b/gprofng/configure.ac index 80bbc8569f5..63b505c5e14 100644 --- a/gprofng/configure.ac +++ b/gprofng/configure.ac @@ -54,18 +54,13 @@ gprofng_cppflags=3D"-U_ASM" build_collector=3D build_src=3D =20 -# This is annoying: it means we have to pass --enable-shared explicitly to -# get gprofng, while the configure default is supposed to be that shared l= ibs -# are on by default. But as long as libiberty has code like this, so must -# we... - - case "${target}" in + case "${host}" in x86_64-*-linux*) build_src=3Dtrue build_collector=3Dtrue ;; i?86-*-linux*) - build_collector=3Dtrue + build_src=3Dtrue build_collector=3Dtrue ;; aarch64-*-linux*) diff --git a/gprofng/libcollector/configure b/gprofng/libcollector/configure index 0afa31d0819..687a6eeda5d 100755 --- a/gprofng/libcollector/configure +++ b/gprofng/libcollector/configure @@ -15475,7 +15475,7 @@ if test "$enable_shared" !=3D "yes"; then fi =20 GPROFNG_VARIANT=3Dunknown -case "${target}" in +case "${host}" in x86_64-*-linux*) GPROFNG_VARIANT=3Damd64-Linux ;; diff --git a/gprofng/libcollector/configure.ac b/gprofng/libcollector/confi= gure.ac index f49d120e0fd..6b6c5c03e27 100644 --- a/gprofng/libcollector/configure.ac +++ b/gprofng/libcollector/configure.ac @@ -42,7 +42,7 @@ if test "$enable_shared" !=3D "yes"; then fi =20 GPROFNG_VARIANT=3Dunknown -case "${target}" in +case "${host}" in x86_64-*-linux*) GPROFNG_VARIANT=3Damd64-Linux ;;