summaryrefslogtreecommitdiffstats
path: root/Rules.mak
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-02-04 21:25:42 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2007-02-04 21:25:42 +0000
commit8ceaf7c737b375d4d90afd8051d0b23aede22d96 (patch)
treeff4d050978a14ea794d7775462530495b67ada2b /Rules.mak
parent6c3524e1f00e4770d8683ca9282ca2d809e0ebc5 (diff)
downloaduClibc-alpine-8ceaf7c737b375d4d90afd8051d0b23aede22d96.tar.bz2
uClibc-alpine-8ceaf7c737b375d4d90afd8051d0b23aede22d96.tar.xz
Add support for PowerPC e500, libc part only.
Math support to be done. From Steve Papacharalambous, stevep@freescale.com
Diffstat (limited to 'Rules.mak')
-rw-r--r--Rules.mak4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rules.mak b/Rules.mak
index 294690867..3d3578e0f 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -353,6 +353,10 @@ CFLAGS := -include $(top_builddir)include/libc-symbols.h \
$(XWARNINGS) $(CPU_CFLAGS) $(SSP_CFLAGS) \
-fno-builtin -nostdinc -I$(top_builddir)include -I.
+ifneq ($(strip $(UCLIBC_EXTRA_CFLAGS)),"")
+CFLAGS += $(subst ",, $(UCLIBC_EXTRA_CFLAGS))
+endif
+
LDADD_LIBFLOAT=
ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y)
# If -msoft-float isn't supported, we want an error anyway.