diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-09-14 16:02:45 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2007-09-14 16:02:45 (GMT) |
commit | 25fb1678c0d48564621a3fd4c539232b50d277b9 (patch) | |
tree | 36a91e176232eda5ad7b68f65a256a9b636a0478 /scripts/build | |
parent | e7e37942d96b6393f906f210ade90f8b67809a22 (diff) |
Fix setting floating point in uClibc (thanks to Szilveszter Ordog <ordog@mail.thot-soft.com>)
Diffstat (limited to 'scripts/build')
-rw-r--r-- | scripts/build/libc_uClibc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 ;; |