summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-02-09 13:27:41 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-02-09 13:27:41 +0000
commit1c8b19bad5e3ca9faaba5b41ed5012cbcffde017 (patch)
tree6d200d1b56abf44e984cd1c7bfe423af005f8d49
parentf1c3d4051aa22f981439ead0df4a1c53ff436891 (diff)
downloadOSELAS.Toolchain-1c8b19bad5e3ca9faaba5b41ed5012cbcffde017.tar.gz
* rules/glibc-first.make, rules/glibc-crt.make, rules/glibc.make
use correct ac_cv_sizeof_long_double per architecture git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@9556 f8d472c7-5700-0410-ac5a-87979cec3adf
-rw-r--r--rules/glibc-crt.make6
-rw-r--r--rules/glibc-first.make7
-rw-r--r--rules/glibc.make3
3 files changed, 11 insertions, 5 deletions
diff --git a/rules/glibc-crt.make b/rules/glibc-crt.make
index e11e2fa..8d7fe26 100644
--- a/rules/glibc-crt.make
+++ b/rules/glibc-crt.make
@@ -42,10 +42,12 @@ $(STATEDIR)/glibc-crt.extract: $(STATEDIR)/glibc.extract
GLIBC_CRT_PATH := PATH=$(CROSS_PATH)
GLIBC_CRT_ENV := \
BUILD_CC=$(HOSTCC) \
+ \
ac_cv_path_GREP=grep \
- libc_cv_forced_unwind=yes \
+ ac_cv_sizeof_long_double=$(PTXCONF_SIZEOF_LONG_DOUBLE)
libc_cv_c_cleanup=yes \
- ac_cv_sizeof_long_double=8
+ libc_cv_forced_unwind=yes \
+
#
# autoconf
diff --git a/rules/glibc-first.make b/rules/glibc-first.make
index 7c005b3..fdd46a6 100644
--- a/rules/glibc-first.make
+++ b/rules/glibc-first.make
@@ -46,12 +46,15 @@ GLIBC_FIRST_ENV := \
CXX=false \
BUILD_CC=$(HOSTCC) \
\
- libc_cv_forced_unwind=yes \
libc_cv_c_cleanup=yes \
+ libc_cv_forced_unwind=yes \
libc_cv_fpie=yes \
libc_cv_ssp=yes \
+ libc_cv_visibility_attribute=yes \
+ libc_cv_broken_visibility_attribute=no \
+ libc_cv_z_relro=yes \
\
- ac_cv_sizeof_long_double=8 \
+ ac_cv_sizeof_long_double=$(PTXCONF_SIZEOF_LONG_DOUBLE)
GLIBC_FIRST_MAKEVARS := AUTOCONF=no
diff --git a/rules/glibc.make b/rules/glibc.make
index eba3791..cc8d6c5 100644
--- a/rules/glibc.make
+++ b/rules/glibc.make
@@ -72,7 +72,8 @@ GLIBC_PATH := PATH=$(CROSS_PATH)
GLIBC_ENV := \
CC=$(CROSS_CC) \
BUILD_CC=$(HOSTCC) \
- ac_cv_sizeof_long_double=8
+ ac_cv_sizeof_long_double=$(PTXCONF_SIZEOF_LONG_DOUBLE)
+
GLIBC_MAKEVARS := AUTOCONF=no