Browse Source

Makefile.cross-compiles: Fix softfloat flag not being honored for mipsle. (#4176)

ddscentral 9 months ago
parent
commit
eaae212d2d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile.cross-compiles

+ 1 - 1
Makefile.cross-compiles

@@ -18,7 +18,7 @@ app:
 		if [ "$${os}" = "linux" ] && [ "$${arch}" = "arm" ] && [ "$${extra}" != "" ] ; then \
 			flags=GOARM=$${extra}; \
 			target_suffix=$${os}_$${arch}_$${extra}; \
-		elif [ "$${os}" = "linux" ] && [ "$${arch}" = "mips" ] && [ "$${extra}" != "" ] ; then \
+		elif [ "$${os}" = "linux" ] && ([ "$${arch}" = "mips" ] || [ "$${arch}" = "mipsle" ]) && [ "$${extra}" != "" ] ; then \
 		    flags=GOMIPS=$${extra}; \
 		fi; \
 		echo "Build $${os}-$${arch}$${extra:+ ($${extra})}..."; \