mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas@biessmann.de>
To: OSELAS ML <oselas@community.pengutronix.de>
Cc: PTXdist ML <ptxdist@pengutronix.de>
Subject: [ptxdist] [PATCH 1/3] glibc-headers: use freshly generated binutils
Date: Thu, 19 Jan 2012 09:50:49 +0100	[thread overview]
Message-ID: <1326963056-80149-2-git-send-email-andreas@biessmann.de> (raw)
In-Reply-To: <1326963056-80149-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.3


-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2012-01-19  8:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-19  8:50 [ptxdist] [PATCH 0/3] Build OSELAS.Toolchain on OS X Andreas Bießmann
2012-01-19  8:50 ` Andreas Bießmann [this message]
2012-01-19  8:50 ` [ptxdist] [PATCH 2/3] glibc-2.14.1: activate readelf detection Andreas Bießmann
2012-01-19  8:50 ` [ptxdist] [PATCH 3/3] glibc-2.13: " Andreas Bießmann
2012-01-25 13:43   ` Michael Olbrich
2012-01-26  9:43     ` Andreas Bießmann
2012-01-26 10:24       ` [ptxdist] [oselas] " Michael Olbrich
2012-01-26 10:37         ` Andreas Bießmann
2012-01-26 11:28           ` Michael Olbrich

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=1326963056-80149-2-git-send-email-andreas@biessmann.de \
    --to=andreas@biessmann.de \
    --cc=oselas@community.pengutronix.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