summaryrefslogtreecommitdiff
path: root/package/musl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/musl/Makefile')
-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