From 25fb1678c0d48564621a3fd4c539232b50d277b9 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Fri, 14 Sep 2007 16:02:45 +0000 Subject: Fix setting floating point in uClibc (thanks to Szilveszter Ordog ) diff --git a/scripts/build/libc_uClibc.sh b/scripts/build/libc_uClibc.sh index 67036ee..d665a5f 100644 --- a/scripts/build/libc_uClibc.sh +++ b/scripts/build/libc_uClibc.sh @@ -187,12 +187,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 v0.10.2-6-g49f6