summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/uClibc-0.9.32-honor-UCLIBC_HAS_FENV-for-e500.patch
blob: c90c34c19e014c12ac6741eb280f380b5933ed45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
>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