boinc/m4
Sven Eden 0ac4f945c0 Remove */lib paths from m4 (Issu #4095: boinc fails to link with LLD)
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>
2020-11-14 17:23:54 +01:00
..
Makefile.am
ax_check_gl.m4 Remove */lib paths from m4 (Issu #4095: boinc fails to link with LLD) 2020-11-14 17:23:54 +01:00
ax_check_glu.m4 Remove */lib paths from m4 (Issu #4095: boinc fails to link with LLD) 2020-11-14 17:23:54 +01:00
ax_check_glut.m4 Remove */lib paths from m4 (Issu #4095: boinc fails to link with LLD) 2020-11-14 17:23:54 +01:00
ax_lang_compiler_ms.m4
ax_pthread.m4 - AUTOCONF: hack to permit AX_PTHREADS to work on autoconf 2.59 2013-08-15 11:36:13 -07:00
ax_winsock.m4 WIN32 Cross Compile Fixes 2014-05-01 17:44:34 -07:00
boinc_check_cygwin.m4
boinc_check_fcgi.m4 Reduces unneeded calls to test 2018-10-24 16:52:33 +02:00
boinc_check_flags.m4 build: remove Fortran checks 2019-03-22 22:12:04 +02:00
boinc_check_lib_with.m4
boinc_getsockopt.m4
boinc_gtk.m4
boinc_msg_debug.m4
boinc_platform.m4 Add wildcard to be uniform across all Android... 2020-06-22 11:46:41 +08:00
boinc_set_compile_flags.m4 Build: whitespace only changes 2019-04-20 13:31:13 +02:00
boinc_wxwidgets.m4 Build: prepare m4 macros for wxWidgets 3.1 2019-02-09 16:28:50 +01:00
check_ssl.m4 Remove */lib paths from m4 (Issu #4095: boinc fails to link with LLD) 2020-11-14 17:23:54 +01:00
gtk-2.0.m4
kc_mysql.m4
libcurl.m4 Remove trailing slash from --with-libcurl 2020-05-05 14:48:25 +08:00
sah_check_lib.m4 Linux: Revert previous change, it did not have the desired effect. 2013-06-19 14:43:02 -04:00
sah_grx.m4
sah_header_stdcxx.m4 - First fixes for out-of-source-tree configure and compile - samples/example_app will no longer build by default. To build person compile must run make in the example_app directory in-source-tree. Thats because the Makefile is not and should not be generated by automake. 2013-03-01 16:19:16 +01:00
sah_largefile_breaks_cxx.m4 - First fixes for out-of-source-tree configure and compile - samples/example_app will no longer build by default. To build person compile must run make in the example_app directory in-source-tree. Thats because the Makefile is not and should not be generated by automake. 2013-03-01 16:19:16 +01:00
sah_libext.m4
sah_links.m4 build: fix removing ln test directory 2019-02-09 23:24:50 +02:00
sah_namespace.m4
sah_select_bitness.m4 Fixed typo 2014-05-02 09:43:14 -07:00
sah_staticize_ldflags.m4
wxWidgets.m4 Build: prepare m4 macros for wxWidgets 3.1 2019-02-09 16:28:50 +01:00