Kaynağa Gözat

gcc: fix MIPS cross-compile when GCC 4.x is used

Waldemar Brodkorb 5 gün önce
ebeveyn
işleme
6007bbd260
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      toolchain/gcc/Makefile

+ 2 - 0
toolchain/gcc/Makefile

@@ -145,9 +145,11 @@ ifneq ($(ADK_TARGET_INSTRUCTION_SET),)
 GCC_CONFOPTS+=		--with-mode=$(ADK_TARGET_INSTRUCTION_SET)
 endif
 
+ifneq ($(ADK_TOOLCHAIN_GCC_4),y)
 ifneq ($(ADK_TARGET_NAN_MODE),)
 GCC_CONFOPTS+=		--with-nan=$(ADK_TARGET_NAN_MODE)
 endif
+endif
 
 # .symver is broken for Blackfin, simple C++ apps fail to link
 ifeq ($(ADK_TARGET_ARCH_BFIN),y)