summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-07 19:43:13 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-07 19:43:13 +0200
commit9ae76995d1ff1e00218ce1ec8d2eaea51178a5a8 (patch)
treeba4b2dbed669f27e1178abf8f17c8c8563560fd6 /package
parente06a60fb2c073ce9187624600bc38218b92e6cde (diff)
musl: fix powerpc soft-float
Diffstat (limited to 'package')
-rw-r--r--package/musl/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/musl/Makefile b/package/musl/Makefile
index 6d4d6af56..0e1574695 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