浏览代码

--with-float only for mips

Waldemar Brodkorb 12 年之前
父节点
当前提交
bec3b02778
共有 1 个文件被更改,包括 2 次插入0 次删除
  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