forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
depends: patch explicit -lm usage out of Qt tools
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 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
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 |