1.1 --- a/scripts/build/libc_uClibc.sh Sat May 03 17:51:16 2008 +0000
1.2 +++ b/scripts/build/libc_uClibc.sh Wed May 14 17:39:18 2008 +0000
1.3 @@ -201,12 +201,12 @@
1.4 # way to select between hard/soft float has changed
1.5 case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in
1.6 y,) cat >>"${munge_file}" <<-ENDSED
1.7 -s/[^_]*(HAS_FPU).*/\\1=y/
1.8 +s/^[^_]*(HAS_FPU).*/\\1=y/
1.9 s/.*(UCLIBC_HAS_FPU).*/\\1=y/
1.10 ENDSED
1.11 ;;
1.12 ,y) cat >>"${munge_file}" <<-ENDSED
1.13 -s/[^_]*(HAS_FPU).*/\\# \\1 is not set/
1.14 +s/^[^_]*(HAS_FPU).*/\\# \\1 is not set/
1.15 s/.*(UCLIBC_HAS_FPU).*/# \\1 is not set/
1.16 ENDSED
1.17 ;;