mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas@biessmann.de>
To: PTXdist ML <ptxdist@pengutronix.de>
Cc: "Andreas Bießmann" <andreas@biessmann.de>
Subject: [ptxdist] [PATCH 1/2] glibc-headers: use freshly generated binutils
Date: Fri,  6 Jan 2012 19:57:18 +0100	[thread overview]
Message-ID: <1325876239-87882-2-git-send-email-andreas@biessmann.de> (raw)
In-Reply-To: <1325876239-87882-1-git-send-email-andreas@biessmann.de>

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 <andreas@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.2


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-01-06 18:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-06 18:57 [ptxdist] [PATCH 0/2] Build OSELAS.Toolchain on OS X Andreas Bießmann
2012-01-06 18:57 ` Andreas Bießmann [this message]
2012-01-06 18:57 ` [ptxdist] [PATCH 2/2] glibc-2.14.1: activate readelf detection Andreas Bießmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1325876239-87882-2-git-send-email-andreas@biessmann.de \
    --to=andreas@biessmann.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox