mirror of
https://github.com/fatedier/frp.git
synced 2024-11-24 02:59:19 +08:00
Makefile.cross-compiles: Fix softfloat flag not being honored for mipsle. (#4176)
This commit is contained in:
parent
885278c045
commit
eaae212d2d
@ -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})}..."; \
|
||||||
|
Loading…
Reference in New Issue
Block a user