Skip to content

external/Makefile: Change HOST to MAKE_HOST#1520

Merged
rustyrussell merged 1 commit into
ElementsProject:masterfrom
jsarenik:jasan/host_tcsh
May 23, 2018
Merged

external/Makefile: Change HOST to MAKE_HOST#1520
rustyrussell merged 1 commit into
ElementsProject:masterfrom
jsarenik:jasan/host_tcsh

Conversation

@jsarenik
Copy link
Copy Markdown
Contributor

Proposed fix for issue #1231 - FreeBSD (tcsh) build problem due
to HOST environment variable.

Copy link
Copy Markdown
Contributor

@ZmnSCPxj ZmnSCPxj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both libwally and libsodium use the internal names MAKE_HOST, maybe better to use that name instead of AUTO_HOST.

The Real Solution is of course to formally define how cross-compilation should really work, rather than the current workarounds used.

Proposed fix for issue #1231 - FreeBSD (tcsh) build problem due
to HOST environment variable.

The variable is used for cross-compilation. The process may be
improved even further in the future. So far this hot fix.
@jsarenik
Copy link
Copy Markdown
Contributor Author

@ZmnSCPxj thank you for feed-back! I changed it appropriately.

@jsarenik jsarenik changed the title external/Makefile: Change HOST to AUTO_HOST external/Makefile: Change HOST to MAKE_HOST May 23, 2018
@ZmnSCPxj
Copy link
Copy Markdown
Contributor

ACK af804ef

@rustyrussell rustyrussell merged commit b28d71a into ElementsProject:master May 23, 2018
@jsarenik jsarenik deleted the jasan/host_tcsh branch May 31, 2018 08:50
@jsarenik
Copy link
Copy Markdown
Contributor Author

@ZmnSCPxj MAKE_HOST is an internal variable of GNU Make. It may work well for others who use autotools, but did not translate well for lightning which is Makefile-only + also submodules which use Autotools themselves

@jsarenik
Copy link
Copy Markdown
Contributor Author

Ref: #1533

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.

3 participants