Commit Graph

6 Commits

Author SHA1 Message Date
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
U-X1\korpela 34fbfd3297 WIN32 Cross Compile Fixes 2014-05-01 17:44:34 -07:00
U-X1\korpela 4a357acddc Changes for mingw32 cross compile 2014-04-29 07:50:33 -07:00
Eric J. Korpela 9e7e635bdd - build: reordered compiler flags checking. Fixed problems with finding location of wx-config when running with cached configuration. Made sure to check ${prefix}/lib when looking for libGL, libGLU, and libglut.
svn path=/trunk/boinc/; revision=16989
2009-01-22 21:39:40 +00:00
Eric J. Korpela ff9e4b5ea4 Added autoconf macro AX_WINSOCK for identifying winsock libs and headers for
support of command line compiles.  Adds new configure command line option
--with-winsock to enable winsock if necessary where alternative socket libraries
exist.

Modified BOINC_CHECK_CYGWIN to call AX_WINSOCK.

Modified boinc_getsockopt.m4 to get correct type when winsock is used.

Modified AX_CHECK_GLUT to find correct libraries when compiling under
windows from command line.

svn path=/trunk/boinc/; revision=9072
2005-12-16 03:20:01 +00:00
Bruce Allen c2d7965c09 - Fixed autoconf/automake build process so that it works correctly
under Mac OSX. Also make dist now works (make distcheck still
     broken).  Karl, since you were the last
     person to fix up this mess, how about taking a look??

svn path=/trunk/boinc/; revision=4665
2004-11-26 17:45:13 +00:00