summaryrefslogtreecommitdiff
path: root/libm
diff options
context:
space:
mode:
authorJason Woodward <jason.woodward@timesys.com>2011-06-11 20:39:33 -0400
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-11-08 08:55:42 +0100
commitc894249c877462d833e36cb6bfc4b9acb1a622b8 (patch)
tree9fc4024c41ed71f5d7b74f1ad16ba6a7bf9c933a /libm
parentbeb1c62829dfb086a1e458fd049cc66cfb0de650 (diff)
honor UCLIBC_HAS_FENV for e500
Signed-off-by: Jason Woodward <jason.woodward@timesys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libm')
-rw-r--r--libm/powerpc/e500/fpu/Makefile.arch2
1 files changed, 2 insertions, 0 deletions
diff --git a/libm/powerpc/e500/fpu/Makefile.arch b/libm/powerpc/e500/fpu/Makefile.arch
index 8f00e0916..904561e91 100644
--- a/libm/powerpc/e500/fpu/Makefile.arch
+++ b/libm/powerpc/e500/fpu/Makefile.arch
@@ -6,8 +6,10 @@
#
+ifeq ($(UCLIBC_HAS_FENV),y)
libm_ARCH_SRC:=$(wildcard $(libm_ARCH_fpu_DIR)/*.c)
libm_ARCH_OBJ:=$(patsubst $(libm_ARCH_fpu_DIR)/%.c,$(libm_ARCH_fpu_OUT)/%.o,$(libm_ARCH_SRC))
+endif
libm_ARCH_OBJS:=$(libm_ARCH_OBJ)