public inbox for gdb-cvs@sourceware.org help / color / mirror / Atom feed
From: Vladimir Mezentsev <vmezents@sourceware.org> To: bfd-cvs@sourceware.org, gdb-cvs@sourceware.org Subject: [binutils-gdb] gprofng: use $host instead $target Date: Thu, 5 May 2022 17:26:12 +0000 (GMT) [thread overview] Message-ID: <20220505172612.B7D793858016@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1653ae5b8440e2182ac86974b99b603bc15aa163 commit 1653ae5b8440e2182ac86974b99b603bc15aa163 Author: Vladimir Mezentsev <vladimir.mezentsev@oracle.com> Date: Thu May 5 00:08:19 2022 -0700 gprofng: use $host instead $target By mistake, $target was used instead of $host to configure the gprogng build. gprofng/ChangeLog 2022-04-28 Vladimir Mezentsev <vladimir.mezentsev@oracle.com> 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="-U_ASM" build_collector= build_src= -# 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 libs -# 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=true build_collector=true ;; i?86-*-linux*) - build_collector=true + build_src=true build_collector=true ;; 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="-U_ASM" build_collector= build_src= -# 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 libs -# 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=true build_collector=true ;; i?86-*-linux*) - build_collector=true + build_src=true build_collector=true ;; 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" != "yes"; then fi GPROFNG_VARIANT=unknown -case "${target}" in +case "${host}" in x86_64-*-linux*) GPROFNG_VARIANT=amd64-Linux ;; diff --git a/gprofng/libcollector/configure.ac b/gprofng/libcollector/configure.ac index f49d120e0fd..6b6c5c03e27 100644 --- a/gprofng/libcollector/configure.ac +++ b/gprofng/libcollector/configure.ac @@ -42,7 +42,7 @@ if test "$enable_shared" != "yes"; then fi GPROFNG_VARIANT=unknown -case "${target}" in +case "${host}" in x86_64-*-linux*) GPROFNG_VARIANT=amd64-Linux ;;
reply other threads:[~2022-05-05 17:26 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220505172612.B7D793858016@sourceware.org \ --to=vmezents@sourceware.org \ --cc=bfd-cvs@sourceware.org \ --cc=gdb-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).