summaryrefslogtreecommitdiff
path: root/toolchain/gcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/gcc/Makefile')
-rw-r--r--toolchain/gcc/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index 7dcf79e0a..cdf9221fa 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -99,6 +99,9 @@ endif
ifeq ($(ADK_LINUX_PPC),y)
GCC_CONFOPTS+= --with-long-double-64 --enable-secureplt
+ifneq ($(ADK_TARGET_CPU_WITH_FPU),y)
+GCC_CONFOPTS+= --with-float=soft
+endif
endif
ifeq ($(ADK_TARGET_ARCH),arm)