From edbd3bee455af94ce7f3cac81805f187ae53cb1e Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Wed, 14 May 2008 17:39:18 +0000 Subject: Fix building uClibc-based, soft-float toolchains by correctly setting float support in the uClibc config file. Correctly unset float CFLAGS and configure arguments before setting them. /trunk/scripts/build/libc_uClibc.sh | 4 2 2 0 ++-- /trunk/scripts/functions | 4 2 2 0 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) --- scripts/build/libc_uClibc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/libc_uClibc.sh') diff --git a/scripts/build/libc_uClibc.sh b/scripts/build/libc_uClibc.sh index d4cb416d..1add33fe 100644 --- a/scripts/build/libc_uClibc.sh +++ b/scripts/build/libc_uClibc.sh @@ -201,12 +201,12 @@ ENDSED # way to select between hard/soft float has changed case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in y,) cat >>"${munge_file}" <<-ENDSED -s/[^_]*(HAS_FPU).*/\\1=y/ +s/^[^_]*(HAS_FPU).*/\\1=y/ s/.*(UCLIBC_HAS_FPU).*/\\1=y/ ENDSED ;; ,y) cat >>"${munge_file}" <<-ENDSED -s/[^_]*(HAS_FPU).*/\\# \\1 is not set/ +s/^[^_]*(HAS_FPU).*/\\# \\1 is not set/ s/.*(UCLIBC_HAS_FPU).*/# \\1 is not set/ ENDSED ;; -- cgit v1.2.3