-
Notifications
You must be signed in to change notification settings - Fork 902
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
Add cross-compilation options only when requested #3275
Conversation
Requesting them is done by setting BUILD=<target_arch> Otherwise autotools (used by external dependencies like libsodium) is not happy with setting cross-compilation variables and may possibly lead to unexpected results.
Sorry about this, I held it for too long. It was fresh long time ago, when I first started poking into c-lightning. Happy to see it unresolved yet, I decided to send this PR :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack 6d9471c
Thanks @jsarenik for the PR. Seems quite all right One thing that seems a bit strange is the naming of the variables. I think |
Sure. Thank you for feed-back. I agree with See Autoconf documentation on this topic which nicely explains how it is meant to be. Generally, I would change even more to not use the
So now I will change the patch from Just for reference: Another solid source from GNU Automake docs |
Just a note: |
Great, thanks @jsarenik, I hadn't considered that |
Maybe it is not really. It is referenced only once in the |
To refresh memories, I went through #1533 |
ACK 635a9d7 |
Requesting them is done by setting BUILD=<target_arch>
Otherwise autotools (used by external dependencies like
libsodium) is not happy with setting cross-compilation
variables and may possibly lead to unexpected results.
Changelog-None