• Stephan Bergmann's avatar
    Cut down on -pthread/-lpthread proliferation · b1141fa6
    Stephan Bergmann yazdı
    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: 's avatarStephan Bergmann <sbergman@redhat.com>
    b1141fa6
Adı
Son kayıt (commit)
Son güncelleme
..
inc Loading commit data...
qa Loading commit data...
source Loading commit data...
workben Loading commit data...
CustomTarget_generated.mk Loading commit data...
Executable_mar.mk Loading commit data...
Executable_mbsdiff.mk Loading commit data...
Executable_test_updater_dialog.mk Loading commit data...
Executable_update_service.mk Loading commit data...
Executable_updater.mk Loading commit data...
Makefile Loading commit data...
Module_onlineupdate.mk Loading commit data...
README Loading commit data...
StaticLibrary_libmar.mk Loading commit data...
StaticLibrary_libmarverify.mk Loading commit data...
StaticLibrary_updatehelper.mk Loading commit data...
WinResTarget_updater.mk Loading commit data...
astyle.options Loading commit data...