From 6509c67082c128e75a51bbd81d45aacbcf6926c1 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 5 Dec 2017 01:32:58 -0800 Subject: More uClibc fixes from upstream Signed-off-by: Alexey Neyman --- .../uClibc-ng/1.0.27/0001-feraiseexcept-2.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 packages/uClibc-ng/1.0.27/0001-feraiseexcept-2.patch (limited to 'packages/uClibc-ng/1.0.27/0001-feraiseexcept-2.patch') diff --git a/packages/uClibc-ng/1.0.27/0001-feraiseexcept-2.patch b/packages/uClibc-ng/1.0.27/0001-feraiseexcept-2.patch new file mode 100644 index 00000000..9030bee1 --- /dev/null +++ b/packages/uClibc-ng/1.0.27/0001-feraiseexcept-2.patch @@ -0,0 +1,32 @@ +commit 82162fc661cc19890c982462e3f88c1a86e4a64c +Author: Waldemar Brodkorb +Date: Sun Dec 3 21:13:01 2017 +0100 + + fenv: only allow to enable for supported architectures + +--- + extra/Configs/Config.in.arch | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +--- a/extra/Configs/Config.in.arch ++++ b/extra/Configs/Config.in.arch +@@ -180,14 +180,16 @@ + config UCLIBC_HAS_FENV + bool "Enable C99 Floating-point environment" + depends on UCLIBC_HAS_FLOATS ++ depends on TARGET_i386 || \ ++ TARGET_metag || \ ++ TARGET_nds32 || \ ++ TARGET_powerpc || \ ++ TARGET_x86_64 + help + If you want the uClibc math library to contain the C99 floating + point environment, rounding and exception handling functions then + say Y here. + +- NOTE: Supported architectures currently include: +- i386 +- + config UCLIBC_HAS_LONG_DOUBLE_MATH + bool "Enable long double support" + depends on DO_C99_MATH -- cgit v1.2.3