We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02a5393 commit 8009302Copy full SHA for 8009302
cmake/platform_linux_desktop.cmake
@@ -76,6 +76,15 @@ function(setup_litecore_build)
76
${target} PRIVATE
77
"$<$<COMPILE_LANGUAGE:CXX>:-Wno-psabi;-Wno-odr>"
78
)
79
+
80
+ # Enough is enough, we keep bumping the compiler to get newer C++ stuff
81
+ # and then suffering the consequences of that stuff not being available
82
+ # everywhere that we need. Just build it into the product directly
83
+ target_link_options(
84
+ ${target} PRIVATE
85
+ "-static-libstdc++"
86
+ "-static-libgcc"
87
+ )
88
endforeach()
89
90
foreach(liteCoreVariant LiteCoreObjects LiteCoreUnitTesting)
0 commit comments