Parcourir la source

--with-float only for mips

Waldemar Brodkorb il y a 12 ans
Parent
commit
bec3b02778
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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