summaryrefslogtreecommitdiffstats
path: root/rules/glibc-first.make
diff options
context:
space:
mode:
authorCarsten Schlote <c.schlote@konzeptpark.de>2008-03-08 12:58:16 +0000
committerCarsten Schlote <c.schlote@konzeptpark.de>2008-03-08 12:58:16 +0000
commit3efd49d4a97311946f148c6a8bfbe295eea7fd37 (patch)
tree3b0656ed707525386c4ecf8082bf51e35d6eea2b /rules/glibc-first.make
parentd6fa432c21cf03c80db1cc79e8dab46c2da5e9cc (diff)
downloadOSELAS.Toolchain-3efd49d4a97311946f148c6a8bfbe295eea7fd37.tar.gz
OSELAS.Toolchain-3efd49d4a97311946f148c6a8bfbe295eea7fd37.tar.xz
[glibc] Added tweaks for compilation
- Hardwired grep detection - autodetection of usable grep fails? - Passed CC set to CROSS_CC in glibc-headers for codesourcery m68k subtype detection code in ports/sysdep/m68k/preconfigure (call cross gcc to detect default arch (m68k or coldfire) git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@5689 f8d472c7-5700-0410-ac5a-87979cec3adf
Diffstat (limited to 'rules/glibc-first.make')
-rw-r--r--rules/glibc-first.make2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/glibc-first.make b/rules/glibc-first.make
index c0c19e8..b6036e6 100644
--- a/rules/glibc-first.make
+++ b/rules/glibc-first.make
@@ -71,7 +71,9 @@ glibc-first_prepare: $(STATEDIR)/glibc-first.prepare
GLIBC_FIRST_PATH := PATH=$(CROSS_PATH)
GLIBC_FIRST_ENV := \
+ CC=$(CROSS_CC) \
BUILD_CC=$(HOSTCC) \
+ ac_cv_path_GREP=grep \
libc_cv_forced_unwind=yes \
libc_cv_c_cleanup=yes
GLIBC_FIRST_MAKEVARS := AUTOCONF=no