Fix setting floating point in uClibc (thanks to Szilveszter Ordog <ordog@mail.thot-soft.com>)

This commit is contained in:
Yann E. MORIN" 2007-09-14 16:02:45 +00:00
parent e7e37942d9
commit 25fb1678c0

View File

@ -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
;;