build: remove use of TARGET_OS and BUILD_OS#23969
build: remove use of TARGET_OS and BUILD_OS#23969fanquake wants to merge 2 commits intobitcoin:masterfrom
Conversation
|
Concept ACK. |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
3120c29 to
895e3b6
Compare
|
Fixed the issue with the android build. |
895e3b6 to
b6b6094
Compare
|
Simplified this further and removed |
b6b6094 to
3f84c22
Compare
hebasto
left a comment
There was a problem hiding this comment.
Approach ACK 3f84c220564d864328b76277fff30f1d1ae391fc
Why not being consistent about preferring AS_CASE over shell's case, at least within this PR?
See:
- https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/autoconf.html#Balancing-Parentheses
- https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/autoconf.html#case
- https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/autoconf.html#Common-Shell-Constructs
3f84c22 to
a9f3b56
Compare
a9f3b56 to
8c5c090
Compare
8c5c090 to
d79311e
Compare
d79311e to
3e45498
Compare
|
Rebased past #24681. |
Guix builds
|
In favour of checking $host_os and $build_os directly.
3e45498 to
86851c8
Compare
|
Concept ACK GUIX hashes on x86, mine match fanquake's latest round |
| if test "$TARGET_OS" = "windows"; then | ||
| NATPMP_CPPFLAGS="-DSTATICLIB -DNATPMP_STATICLIB" | ||
| fi | ||
| AS_CASE([$host_os], [*mingw*], [NATPMP_CPPFLAGS="-DSTATICLIB -DNATPMP_STATICLIB"]) |
There was a problem hiding this comment.
What about non-mingw windows? Does this make it more difficult to switch compilers later? E.g. does the clang windows tuple have mingw in it?
There was a problem hiding this comment.
I think in that case there is a different tuple. Doing this isn't really a priority, so I'll close this for now, and we can potentially revisit later.
In favour of checking
$host_osand$build_osdirectly.Guix Build (on x86_64):