diff options
author | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2022-05-05 00:08:19 -0700 |
---|---|---|
committer | Vladimir Mezentsev <vladimir.mezentsev@oracle.com> | 2022-05-05 10:12:12 -0700 |
commit | 1653ae5b8440e2182ac86974b99b603bc15aa163 (patch) | |
tree | 46ee57c150b994faa57cfe16f9aff5b1bbb37bde /gprofng | |
parent | d890c720b8c4daf8892a175296d8e88ec992c92d (diff) | |
download | gdb-1653ae5b8440e2182ac86974b99b603bc15aa163.zip gdb-1653ae5b8440e2182ac86974b99b603bc15aa163.tar.gz gdb-1653ae5b8440e2182ac86974b99b603bc15aa163.tar.bz2 |
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.
Diffstat (limited to 'gprofng')
-rwxr-xr-x | gprofng/configure | 9 | ||||
-rw-r--r-- | gprofng/configure.ac | 9 | ||||
-rwxr-xr-x | gprofng/libcollector/configure | 2 | ||||
-rw-r--r-- | gprofng/libcollector/configure.ac | 2 |
4 files changed, 6 insertions, 16 deletions
diff --git a/gprofng/configure b/gprofng/configure index 6e38a14..d0345ec 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 80bbc85..63b505c 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 0afa31d..687a6ee 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 f49d120..6b6c5c0 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 ;; |