Some systems do not provide GNU binutils in sufficient versions to build the glibc-headers. Building glibc later on, however, will use the freshly generated cross-binutils and fulfill the GNU binutils version requirement. Use the freshly generated binutils for glibc-headers too.
Signed-off-by: Andreas Bießmann <andr...@biessmann.de> --- rules/glibc-headers.make | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/rules/glibc-headers.make b/rules/glibc-headers.make index 7a729dd..a197a50 100644 --- a/rules/glibc-headers.make +++ b/rules/glibc-headers.make @@ -50,6 +50,11 @@ GLIBC_HEADERS_ENV := \ $(HOST_ENV) \ CC="$${CC} $(PTXCONF_GLIBC_HEADERS_FAKE_CROSS)" \ \ + libc_cv_prog_as_gnu=yes \ + libc_cv_prog_ld_gnu=yes \ + ac_cv_prog_AS="$(PTXCONF_SYSROOT_CROSS)/bin/$(PTX_TOUPLE_TARGET)-as" \ + ac_cv_prog_LD="$(PTXCONF_SYSROOT_CROSS)/bin/$(PTX_TOUPLE_TARGET)-ld" \ + \ libc_cv_asm_cfi_directive_sections=yes \ libc_cv_asm_cfi_directives=yes \ libc_cv_asm_protected_directive=yes \ -- 1.7.8.3 -- ptxdist mailing list ptxdist@pengutronix.de