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.
This commit is contained in:
Vladimir Mezentsev 2022-05-05 00:08:19 -07:00
parent d890c720b8
commit 1653ae5b84
4 changed files with 6 additions and 16 deletions

9
gprofng/configure vendored
View File

@ -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*)

View File

@ -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*)

View File

@ -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
;;

View File

@ -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
;;