summaryrefslogtreecommitdiff
path: root/Rules.mak
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-02-13 15:01:38 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-02-13 15:01:38 +0000
commite04c4c3c877f1ca8e39e76498b34c16b322a51a0 (patch)
tree24f180b98e2fe3b0b3d09898f4d04110f14b1edd /Rules.mak
parent6c6e8d6eda24aff9ba9aa9274976e144f2a95fa1 (diff)
Add missing bits/fenv.h that got lost in the e500 port.
clean up E500 math support somewhat. From Steve Papacharalambous with mods by me.
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 3397336d2..f1c46888f 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -288,6 +288,8 @@ ifeq ($(TARGET_ARCH),powerpc)
PIEFLAG_NAME:=-fpie
PPC_HAS_REL16:=$(shell echo -e "\t.text\n\taddis 11,30,_GLOBAL_OFFSET_TABLE_-.@ha" | $(CC) -c -x assembler -o /dev/null - 2> /dev/null && echo -n y || echo -n n)
CPU_CFLAGS-$(PPC_HAS_REL16)+= -DHAVE_ASM_PPC_REL16
+ CPU_CFLAGS-$(CONFIG_E500) += "-D__NO_MATH_INLINES -D__NO_LONG_DOUBLE_MATH"
+
endif
ifeq ($(TARGET_ARCH),frv)