forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge bitcoin#30451: depends: remove Darwin ENV unsetting
bda537f depends: remove ENV unsetting for darwin (fanquake) 1807760 guix: improve ENV unsetting for macOS (fanquake) 0b2aeee depends: patch explicit -lm usage out of Qt tools (fanquake) Pull request description: Now that we use the native compiler, and have fixed Qt, and these vars are (almost) unset in Guix, we can remove the unsetting from our compiler command here. I couldn't manage to make a darwin-clang-cross only exclusion of `-lm` work properly for Qt, so opted for just removing the explicit link entirely. I do not think this should have any other unwanted side-effects. Fixes bitcoin#21552. ACKs for top commit: TheCharlatan: ACK bda537f Tree-SHA512: 97a2d85de7d4b1d65717ecb521399ecba5f53863b8aef21af62ede5ceee59ee1a9392663da3a3852cad1b6d8b420dd4b0b5f0eea38d30a81785d8b2718620b5f
- Loading branch information
Showing
4 changed files
with
30 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
build: remove explicit -lm link from qttools | ||
|
||
This causes issues with at least the macOS cross build, and shouldn't | ||
actually be required anywhere else. GCC with libstdc++ will already get libm. | ||
|
||
--- a/qtbase/src/corelib/tools/tools.pri | ||
+++ b/qtbase/src/corelib/tools/tools.pri | ||
@@ -111,9 +111,6 @@ qtConfig(easingcurve) { | ||
tools/qtimeline.cpp | ||
} | ||
|
||
-# Note: libm should be present by default becaue this is C++ | ||
-unix:!macx-icc:!vxworks:!haiku:!integrity:!wasm: LIBS_PRIVATE += -lm | ||
- | ||
TR_EXCLUDE += ../3rdparty/* | ||
|
||
# MIPS DSP |