summaryrefslogtreecommitdiffstats
path: root/onlineupdate/Executable_updater.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-04-25 11:48:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-04-25 21:27:43 +0200
commitb1141fa61073b3f24e1a3574afa55a954e5a153d (patch)
tree38099f5da3eb398436c1e2b85d77b955d6a886ea /onlineupdate/Executable_updater.mk
parentUITest_writer_tests5: disable flaky print preview test (diff)
downloadcore-b1141fa61073b3f24e1a3574afa55a954e5a153d.tar.gz
core-b1141fa61073b3f24e1a3574afa55a954e5a153d.zip
Cut down on -pthread/-lpthread proliferation
Building against libstdc++ effectively always requires -pthread anyway (as various standard C++ headers require it, see the comment added to solenv/gbuild/platform/unxgcc.mk), so many explicit uses of -pthread/-lpthread can be removed. Doing a (partial) test build on Linux with Clang -stdlib=libc++ suggests that libc++ indeed doesn't need -pthread as libstdc++ does. The remaining uses of -pthread/-lpthread are mostly in configure.ac for the various BSDs (which somebody else might want to clean up now), and related to external projects. I tried to be careful to remove -pthread/-lpthread from makefiles only when C++ object files are involved (so -pthread will now be included on the link command line by default). Change-Id: I936e082839cb9a434bd273ce5a1f187a4245dfa1 Reviewed-on: https://gerrit.libreoffice.org/71291 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'onlineupdate/Executable_updater.mk')
-rw-r--r--onlineupdate/Executable_updater.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/onlineupdate/Executable_updater.mk b/onlineupdate/Executable_updater.mk
index 9860e3cf38ef..7c24b7beb3bb 100644
--- a/onlineupdate/Executable_updater.mk
+++ b/onlineupdate/Executable_updater.mk
@@ -70,7 +70,6 @@ $(eval $(call gb_Executable_add_libs,updater,\
-lXrender \
-lSM \
-lICE \
- -lpthread \
))
endif