Skip to content

Navigation Menu

Sign in
Sign up

Utilize variables for the build in more places - #73

Open
apg wants to merge 1 commit into
kfl:master from
apg:apg/openbsd-llvm
Open

Utilize variables for the build in more places #73
apg wants to merge 1 commit into
kfl:master from
apg:apg/openbsd-llvm

Conversation

@apg

@apg apg commented Nov 11, 2023

Copy link
Copy Markdown
  • Update all the makefiles to reference $(MAKE) in case you invoked the build with gmake (as on OpenBSD)
  • Prefer cc on OpenBSD, and update the mosmlc.tpl parameterize CC
  • Support PREFIX=/path/ make world install
  • Remove warnings from sizes.c test with %ld instead of %d.
  • Ensure $cc is used instead of hardcoded gcc in autoconf

With this, I'm able to gmake world and install on the latest OpenBSD. I can test this, also on Linux, but I don't have access to other machine types at the moment to ensure I didn't break anything.

@kfl kfl self-assigned this Nov 11, 2023
- Update all the makefiles to reference $(MAKE) in case you invoked
 the build with `gmake` (as on OpenBSD)
- Prefer `cc` on OpenBSD, and update the mosmlc.tpl parameterize CC
- Support PREFIX=/path/ make world install
- Remove warnings from sizes.c test with %ld instead of %d.
- Ensure $cc is used instead of hardcoded gcc in autoconf

apg commented Nov 12, 2023

Copy link
Copy Markdown
Author

I think I found the issue. Sorry for the force push. -Wnone... which I may have hallucinated ... as gcc errors, and I don't see it in the LLVM docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

@kfl kfl

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /