summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@free.fr>2014-01-04 00:10:13 (GMT)
committerYann E. MORIN" <yann.morin.1998@free.fr>2014-01-04 00:10:13 (GMT)
commitc1ed43e5278d41ab9644bcb3494ec2306b5c96be (patch)
treeb8bbe9f66dbb53328c9f56e97f8257a3998b9c05
parentc6fd7bd2d9cfb03fc3c8f79275be5887bc152fb8 (diff)
libc-uclibc: enable fenv for x86 32-bit
Without it, gcc-4.8 fails to build. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
-rw-r--r--scripts/build/libc/uClibc.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh
index 1c710d1..87fd3f6 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