Explorar o código

--with-float only for mips

Waldemar Brodkorb %!s(int64=13) %!d(string=hai) anos
pai
achega
bec3b02778
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      toolchain/gcc/Makefile

+ 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