Эх сурвалжийг харах

--with-float only for mips

Waldemar Brodkorb 12 жил өмнө
parent
commit
bec3b02778

+ 2 - 0
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