[PATCH] Disable gprofng build for *musl*

Sam James sam@gentoo.org
Fri Aug 23 05:03:12 GMT 2024


vladimir.mezentsev@oracle.com writes:

> From: Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
>
> I disable gprofng until gprofng is ported to musl.

It looks good to me, and I've tested it as well, with
one small comment...

>
> gprofng/ChangeLog
> 2024-08-22  Vladimir Mezentsev  <vladimir.mezentsev@oracle.com>.
>

Please add a tag for the bug(s).

> 	* configure.ac: Disable gprofng build for *musl*.
> 	* configure: Rebuild.
> ---
>  configure    | 2 ++
>  configure.ac | 2 ++
>  2 files changed, 4 insertions(+)
>
> diff --git a/configure b/configure
> index 7823f2c3784..93d286bb3b7 100755
x> --- a/configure
> +++ b/configure
> @@ -3146,6 +3146,8 @@ fi
>  
>  if test "$enable_gprofng" = "yes"; then
>    case "${target}" in
> +    *-musl*)
> +      ;;
>      x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*)
>      configdirs="$configdirs gprofng"
>      ;;
> diff --git a/configure.ac b/configure.ac
> index a390639bfa9..6fd9e77f20a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -414,6 +414,8 @@ enable_gprofng=$enableval,
>  enable_gprofng=yes)
>  if test "$enable_gprofng" = "yes"; then
>    case "${target}" in
> +    *-musl*)
> +      ;;
>      x86_64-*-linux* | i?86-*-linux* | aarch64-*-linux* | riscv64-*-linux*)
>      configdirs="$configdirs gprofng"
>      ;;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 377 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20240823/d99ed9e2/attachment.sig>


More information about the Binutils mailing list