mirror of https://github.com/BOINC/boinc.git
0ac4f945c0
BOINC fails to link with LLD because of /usr/lib in the link command line. LLD does not continue to search for the correct library, once it finds one that doesn't fit. This is made by design and will not change. See also : https://bugs.gentoo.org/732024 The reason for LLD failing is, that its build system puts -L/usr and -L/usr/lib into the command line options. While these are not neccessary at all, they cause LLD to find 32bit libraries on 64bit systems first. As these 32bit libraries can not be used, LLD errors out. This commit removes the superfluous hard-coded injection of -L/usr and -L/usr/lib into the command line. The resulting build system has been tested with * Clang + LLD * gcc + ld.bfd * gcc + ld.gold Bug: #4095 Signed-off-by: Sven Eden <sven.eden@prydeworx.com> |
||
---|---|---|
.. | ||
Makefile.am | ||
ax_check_gl.m4 | ||
ax_check_glu.m4 | ||
ax_check_glut.m4 | ||
ax_lang_compiler_ms.m4 | ||
ax_pthread.m4 | ||
ax_winsock.m4 | ||
boinc_check_cygwin.m4 | ||
boinc_check_fcgi.m4 | ||
boinc_check_flags.m4 | ||
boinc_check_lib_with.m4 | ||
boinc_getsockopt.m4 | ||
boinc_gtk.m4 | ||
boinc_msg_debug.m4 | ||
boinc_platform.m4 | ||
boinc_set_compile_flags.m4 | ||
boinc_wxwidgets.m4 | ||
check_ssl.m4 | ||
gtk-2.0.m4 | ||
kc_mysql.m4 | ||
libcurl.m4 | ||
sah_check_lib.m4 | ||
sah_grx.m4 | ||
sah_header_stdcxx.m4 | ||
sah_largefile_breaks_cxx.m4 | ||
sah_libext.m4 | ||
sah_links.m4 | ||
sah_namespace.m4 | ||
sah_select_bitness.m4 | ||
sah_staticize_ldflags.m4 | ||
wxWidgets.m4 |