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

This commit is contained in:
ddscentral 2024-04-22 14:50:58 +03:00 committed by GitHub
parent 885278c045
commit eaae212d2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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