diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-15 20:55:46 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-05-15 20:55:46 (GMT) |
commit | ba03986016718ae5902a5ac8233a3aad3f19a66d (patch) | |
tree | 61ae908de86427da9a8246bfd508a29e7dcb2057 /scripts/build | |
parent | 109690e1e29f4b46ad5074315e988dfa69839568 (diff) |
Backport #629 from trunk:
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.
/branches/1.1/scripts/build/libc_uClibc.sh | 4 2 2 0 ++--
/branches/1.1/scripts/functions | 4 2 2 0 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
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 d4cb416..1add33f 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 ;; |