mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +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