Skip to content
New issue

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

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

Already on GitHub? # to your account

Makefile: fix cross compile #777

Merged
merged 1 commit into from
Mar 1, 2021

Conversation

SupervisedThinking
Copy link
Contributor

@SupervisedThinking SupervisedThinking commented Feb 28, 2021

Fixes cross compilation. When you build amiberry in a build root that has special build tools for specific targets e.g. https://github.com/SupervisedThinking/LibreELEC-RR/blob/master-rr/packages/supervisedthinking/emulation/standalone/amiberry/package.mk build will fail because host as will be used:

as: unrecognized option '-mfloat-abi=hard'
make: *** [Makefile:447: src/osdep/neon_helper.o] Error 1
make: *** Waiting for unfinished jobs....

Changes proposed in this pull request:
only define AS if AS wasn't already defined so change AS = as to AS ?= as so the toolchain as will be used instead of host as

@midwan

@midwan
Copy link
Collaborator

midwan commented Mar 1, 2021

Thanks!

@midwan midwan merged commit 697272c into BlitterStudio:master Mar 1, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants