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
Make the build logic more robust for BSD systems #108
Conversation
Thanks a lot! We made sure that Btw. did you try both, Should we also port these changes to libtomcrypt? |
(Sorry, had to fix some syntax. I was working on this between two computers yesterday and messed something up.)
I don't see a
Yes, both
Hm, I've not looked at libtomcrypt before, but it's quite likely that the same set of changes would be beneficial. I can submit a PR there. |
No worries
oops, right, that port of
👍
Cool! That'd be great - thx! |
PR to libtomcrypt: libtom/libtomcrypt#382 |
Figured out the escaping issues and applied here. |
Can you please bring this in sync with the PR in ltc? |
Done. |
Sorry, but can you please rebase :) I'll merge afterwards! |
This properly sets MAKE on BSDs to gmake rather than make, which refers to the incompatible BSD Make. Further, it betters detection of Clang as the default compiler, which is the case on FreeBSD 11.0+ and OpenBSD 6.0+, and it fixes the unrecognized call to arch on FreeBSD.
Done! |
This properly sets MAKE on BSDs to
gmake
rather thanmake
, which refers to the incompatible BSD Make. Further, it betters detection of Clang as the default compiler, which is the case on FreeBSD 11.0+ and OpenBSD 6.0+, and it fixes the unrecognized call toarch
on FreeBSD.