From c1ed43e5278d41ab9644bcb3494ec2306b5c96be Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 4 Jan 2014 01:10:13 +0100 Subject: libc-uclibc: enable fenv for x86 32-bit Without it, gcc-4.8 fails to build. Signed-off-by: "Yann E. MORIN" --- scripts/build/libc/uClibc.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scripts/build/libc') diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index 1c710d19..87fd3f62 100644 --- a/scripts/build/libc/uClibc.sh +++ b/scripts/build/libc/uClibc.sh @@ -315,6 +315,13 @@ mungeuClibcConfig() { ;; esac ;; + x86) + if [ "${CT_ARCH_BITNESS}" = "32" ]; then + cat <<-ENDSED + s/.*(UCLIBC_HAS_FENV).*/\\1=y/ + ENDSED + fi + ;; esac # Accomodate for old and new uClibc versions, where the -- cgit v1.2.3