29 lines
830 B
Diff
29 lines
830 B
Diff
>From 69d9cf20955d0222a5a2631021bc10854ea98128 Mon Sep 17 00:00:00 2001
|
|
From: Jason Woodward <jason.woodward@timesys.com>
|
|
Date: Sat, 11 Jun 2011 20:39:33 -0400
|
|
Subject: [PATCH] honor UCLIBC_HAS_FENV for e500
|
|
|
|
Signed-off-by: Jason Woodward <jason.woodward@timesys.com>
|
|
---
|
|
libm/powerpc/e500/fpu/Makefile.arch | 2 ++
|
|
1 files changed, 2 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/libm/powerpc/e500/fpu/Makefile.arch b/libm/powerpc/e500/fpu/Makefile.arch
|
|
index 8f00e09..904561e 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)
|
|
|
|
--
|
|
1.7.0.4
|
|
|