summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-07 17:43:13 (GMT)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-07 17:43:13 (GMT)
commit9ae76995d1ff1e00218ce1ec8d2eaea51178a5a8 (patch)
treeba4b2dbed669f27e1178abf8f17c8c8563560fd6
parente06a60fb2c073ce9187624600bc38218b92e6cde (diff)
musl: fix powerpc soft-float
-rw-r--r--package/musl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/musl/Makefile b/package/musl/Makefile
index 6d4d6af..0e15746 100644
--- a/package/musl/Makefile
+++ b/package/musl/Makefile
@@ -37,8 +37,12 @@ ifeq ($(ADK_TARGET_CPU_ARCH),i486)
MARCH:= i386
endif
ifeq ($(ADK_TARGET_CPU_ARCH),ppc)
+ifeq ($(ADK_TARGET_SOFT_FLOAT),y)
+MARCH:= powerpc-sf
+else
MARCH:= powerpc
endif
+endif
ifeq ($(ADK_TARGET_CPU_ARCH),ppc64)
MARCH:= powerpc64
endif