浏览代码

fenv: only allow to enable for supported architectures

Waldemar Brodkorb 7 年之前
父节点
当前提交
82162fc661
共有 1 个文件被更改,包括 5 次插入3 次删除
  1. 5 3
      extra/Configs/Config.in.arch

+ 5 - 3
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