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

some fixes in unix/Makefile #192

Merged
merged 7 commits into from
Jan 6, 2025
Merged

Conversation

guberathome
Copy link
Contributor

@guberathome guberathome commented Jan 4, 2025

minor stuff:

  1. the build path was hardcoded, preventing it to be used from other directories
  2. it looks like IO_SOURCE is meant to contain platform specific IO. Unfortunately the Makefile reset the variable even if it was already defined.
  3. with that in place, the existing infrastructure can be used for other (cross)compilers like Zig
  4. do not reset CC if if was already defined.
  5. move options to top of Makefile which are meant to be set from the outside

platforms/unix/Makefile Show resolved Hide resolved
platforms/zig-crossbuild/cross-compile.sh Outdated Show resolved Hide resolved
@guberathome guberathome marked this pull request as draft January 4, 2025 20:36
@guberathome
Copy link
Contributor Author

guberathome commented Jan 5, 2025

done, ready to be merged.

Please note I added a comment that this actually requires gnu make to work.

@guberathome guberathome marked this pull request as ready for review January 5, 2025 09:28
@philburk philburk merged commit ffeeda3 into philburk:master Jan 6, 2025
3 checks passed
@guberathome guberathome deleted the zig-build branch January 6, 2025 07:14
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.

2 participants