Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Apr 22, 2024
Merged

Conversation

ddscentral
Copy link
Contributor

WHY

When building using Makefile.cross-compiles, softfloat flag was being applied only to "mips" big-endian builds but not "mipsle" little-endian builds despite the flag being set in architecture list. This resulted in binaries which would not run on target machines without a FPU or a FPU emulator in kernel.
This change fixes the "if" statement in Makefile.cross-compiles to correctly apply the softfloat flag to both "mips" and "mipsle" builds.

Binaries run fine on a system with a BCM4706 MIPS SoC.

@fatedier fatedier merged commit eaae212 into fatedier:dev Apr 22, 2024
2 checks passed
@fatedier fatedier linked an issue Apr 22, 2024 that may be closed by this pull request
11 tasks
github-actions bot added a commit to aiastia-dockerhub/frp that referenced this pull request Apr 22, 2024
* https://github.com/fatedier/frp:
  Makefile.cross-compiles: Fix softfloat flag not being honored for mipsle. (fatedier#4176)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mipsle arch is missing softfloat flag due to Makefile.cross-compiles bug
2 participants