From eaae212d2d1b17360754afd9432c21640f15c832 Mon Sep 17 00:00:00 2001
From: ddscentral <dds@ddscentral.org>
Date: Mon, 22 Apr 2024 14:50:58 +0300
Subject: [PATCH] Makefile.cross-compiles: Fix softfloat flag not being honored
 for mipsle. (#4176)

---
 Makefile.cross-compiles | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.cross-compiles b/Makefile.cross-compiles
index 956f1633..9ff163cc 100644
--- a/Makefile.cross-compiles
+++ b/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})}..."; \