summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-09-19 18:11:02 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-12-12 08:15:32 +0100
commit25206cb6bda2fbdc6bcac699668cd36243e37e5b (patch)
tree995e7d6d77fb52cd78e1c48b6f7136a90a577d0a
parent1065d702aa45ecaeb74dd4827bb65d0893417813 (diff)
downloadOSELAS.Toolchain-25206cb6bda2fbdc6bcac699668cd36243e37e5b.tar.gz
glibc: allways use ld.bfd regardless of the default
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/glibc-crt.make1
-rw-r--r--rules/glibc-first.make2
-rw-r--r--rules/glibc-headers.make2
-rw-r--r--rules/glibc.make2
4 files changed, 4 insertions, 3 deletions
diff --git a/rules/glibc-crt.make b/rules/glibc-crt.make
index eaceadc..8b4d90a 100644
--- a/rules/glibc-crt.make
+++ b/rules/glibc-crt.make
@@ -25,6 +25,7 @@ GLIBC_CRT_DIR = $(BUILDDIR)/$(GLIBC)-crt-build
GLIBC_CRT_PATH := PATH=$(CROSS_PATH)
GLIBC_CRT_ENV := \
+ CC="$(CROSS_CC) -fuse-ld=bfd" \
BUILD_CC=$(HOSTCC) \
\
ac_cv_path_GREP=grep \
diff --git a/rules/glibc-first.make b/rules/glibc-first.make
index 1d994e0..3fc7c31 100644
--- a/rules/glibc-first.make
+++ b/rules/glibc-first.make
@@ -26,7 +26,7 @@ GLIBC_FIRST_BUILDDIR = $(BUILDDIR)/$(GLIBC)-first-build
GLIBC_FIRST_PATH := PATH=$(CROSS_PATH)
GLIBC_FIRST_ENV := \
- CC=$(CROSS_CC) \
+ CC="$(CROSS_CC) -fuse-ld=bfd" \
CXX=false \
BUILD_CC=$(HOSTCC) \
\
diff --git a/rules/glibc-headers.make b/rules/glibc-headers.make
index 3ac4e51..6ac7e10 100644
--- a/rules/glibc-headers.make
+++ b/rules/glibc-headers.make
@@ -38,7 +38,7 @@ GLIBC_HEADERS_ENV := \
libc_cv_prog_as_gnu=yes \
libc_cv_prog_ld_gnu=yes \
ac_cv_prog_AS="$(PTXCONF_SYSROOT_CROSS)/bin/$(COMPILER_PREFIX)as" \
- ac_cv_prog_LD="$(PTXCONF_SYSROOT_CROSS)/bin/$(COMPILER_PREFIX)ld" \
+ ac_cv_prog_LD="$(PTXCONF_SYSROOT_CROSS)/bin/$(COMPILER_PREFIX)ld.bfd" \
\
libc_cv_asm_cfi_directive_sections=yes \
libc_cv_asm_cfi_directives=yes \
diff --git a/rules/glibc.make b/rules/glibc.make
index 76042c6..dbf7d03 100644
--- a/rules/glibc.make
+++ b/rules/glibc.make
@@ -65,7 +65,7 @@ endif
GLIBC_PATH := PATH=$(CROSS_PATH)
GLIBC_ENV := \
- CC=$(CROSS_CC) \
+ CC="$(CROSS_CC) -fuse-ld=bfd" \
BUILD_CC=$(HOSTCC) \
MAKEINFO=: \
\