kumquat-buildroot/toolchain/uClibc/uClibc-0.9.32-honor-UCLIBC_HAS_FENV-for-e500.patch
Peter Korsgaard ab6b9e77fe uClibc: add patches to unbreak 0.9.32 on powerpc e500
Patches from Jason Woodward, posted on the uClibc list back in July.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-13 16:02:38 +02:00

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