mirror of https://github.com/bitcoin/bitcoin
pull/30551/headbda537f7c4
depends: remove ENV unsetting for darwin (fanquake)1807760f09
guix: improve ENV unsetting for macOS (fanquake)0b2aeee21d
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 #21552. ACKs for top commit: TheCharlatan: ACKbda537f7c4
Tree-SHA512: 97a2d85de7d4b1d65717ecb521399ecba5f53863b8aef21af62ede5ceee59ee1a9392663da3a3852cad1b6d8b420dd4b0b5f0eea38d30a81785d8b2718620b5f
commit
4c62f4b535
@ -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
|
Loading…
Reference in new issue