summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2017-12-03 21:13:01 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2017-12-03 21:13:01 +0100
commit82162fc661cc19890c982462e3f88c1a86e4a64c (patch)
tree215653e5b4214993ae292112db3ab347820f45df
parentedce88cfef2f2a62647c2ab9536ca29694fab292 (diff)
fenv: only allow to enable for supported architectures
-rw-r--r--extra/Configs/Config.in.arch8
1 files changed, 5 insertions, 3 deletions
diff --git a/extra/Configs/Config.in.arch b/extra/Configs/Config.in.arch
index 6ee6c4bcd..132e68a21 100644
--- a/extra/Configs/Config.in.arch
+++ b/extra/Configs/Config.in.arch
@@ -180,14 +180,16 @@ config DO_XSI_MATH
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