From bec3b02778c62eafcf67ff0babb55c1c66cae511 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 7 May 2013 15:16:55 +0200 Subject: --with-float only for mips --- toolchain/gcc/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'toolchain/gcc') diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile index 044a9a3a1..815b5f30d 100644 --- a/toolchain/gcc/Makefile +++ b/toolchain/gcc/Makefile @@ -67,11 +67,13 @@ else GCC_CONFOPTS+= --enable-target-optspace endif +ifeq ($(ARCH),mips) ifeq ($(ADK_TARGET_NO_FPU),y) GCC_CONFOPTS+= --with-float=soft else GCC_CONFOPTS+= --with-float=hard endif +endif ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI),y) GCC_CONFOPTS+= --with-arch=armv6 --with-fpu=vfp -- cgit v1.2.3