Thanks, applied as 29c0f4789de7aa470d01c8fd56fa732c14fb76c7.

Michael

[sent from post-receive hook]

On Mon, 05 Dec 2022 13:53:57 +0100, Philipp Zabel <[email protected]> 
wrote:
> Explicitly disable gprofng to avoid a build failure:
> 
>   make[5]: Entering directory 
> '.../build-target/binutils-2.39/gprofng/libcollector'
>     CC       libgp_collector_la-jprofile.lo
>   jprofile.c:32:10: fatal error: jni.h: No such file or directory
> 
> if the binutils build system manages to find a Java host installation.
> Use an environment variable instead of the --disable-gprofng configure
> option for compatibility with older binutils versions.
> 
> Signed-off-by: Philipp Zabel <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/binutils.make b/rules/binutils.make
> index 17b7f7e3e313..bec8436d62fb 100644
> --- a/rules/binutils.make
> +++ b/rules/binutils.make
> @@ -29,6 +29,7 @@ BINUTILS_DIR                := $(BUILDDIR)/$(BINUTILS)
>  
>  BINUTILS_CONF_ENV := \
>       $(CROSS_ENV) \
> +     enable_gprofng=no \
>       host_configargs='$(strip \
>               --enable-targets=$(PTXCONF_GNU_TARGET) \
>               --disable-nls \

Reply via email to