boinc/api
Fabrice Fontaine bf807980c1 Fix LDFLAGS for cross-compilation
Remove "-L$(libdir) -rapth $(libdr)" from LDFLAGS of boinc libraries in
Makefile.am of api, lib, sched and zlib directories to be able to
cross-compile boinc.

Indeed, libdir is not equal to the path where BOINC will be installed
but to exec_prefix/lib. The full installation path is
$(DESTDIR)/$(libdir).

To cross-compile boinc, exec_prefix will be set to the target path (for
example: /usr) and DESTDIR will be set (during make install) to the
staging or target directory on the host (for example /home/xxx/target).
The issue of adding -L$(libdir) is that it is not allowed by the
compiler, the error "unsafe header/library path used in
cross-compilation: '-L/usr/lib'" will be raised.

As a result, remove "-L$(libdir) -rapth $(libdr)" from LDFLAGS, the
default library search paths are sufficient for "standard" compilation
or can be updated manually by passing the additional search path to
LDFLAGS during the configure call for cross-compilation.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2017-03-04 16:46:41 +01:00
..
ttf/liberation-fonts-ttf-2.00.0 API, SCR: Switch from *.txf fonts to TrueType fonts in graphics apps, ensuring that all related files have no licensing issues 2012-08-02 07:19:11 +00:00
Makefile.am Fix LDFLAGS for cross-compilation 2017-03-04 16:46:41 +01:00
Makefile.mingw
boinc_api.cpp API: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use. 2016-02-15 20:11:03 -05:00
boinc_api.h API: move graphics-related code to appropriate file 2015-01-05 14:04:22 -08:00
boinc_api_fortran.cpp API: make boinc_api_fortran.cpp compile 2014-02-06 14:27:52 -08:00
boinc_gl.h - Updates Linux notifications to use current libnotify. 2011-09-27 19:45:27 +00:00
boinc_glut.h - Updates Linux notifications to use current libnotify. 2011-09-27 19:45:27 +00:00
boinc_opencl.cpp API: Fix a bug in boinc_get_opencl_ids() which incorrectly returned CL_INVALID_DEVICE on some systems. This would happen on hosts with multiple GPUs if: 2014-09-22 04:57:23 -07:00
boinc_opencl.h OpenCL: Change type argument of new boinc_get_opencl_ids() API from char* to int; it now accepts PROC_TYPE_NVIDIA_GPU, PROC_TYPE_AMD_GPU or PROC_TYPE_INTEL_GPU 2013-03-04 15:23:38 +01:00
graphics2.cpp WIN32 Cross Compile Fixes 2014-05-01 17:44:34 -07:00
graphics2.h Fix build errors 2015-01-16 09:29:49 -08:00
graphics2_unix.cpp Various: Fix some compile warnings; from Gianfranco 2013-07-09 10:34:32 -07:00
graphics2_util.cpp HTMLGFX: Checkpoint (Continuation of previous commit.) 2015-01-16 00:49:17 -05:00
graphics2_win.cpp Win build fixes 2013-06-06 18:22:51 -07:00
graphics_api.cpp
graphics_api.h
graphics_data.cpp
graphics_data.h
graphics_impl.cpp
graphics_impl.h
graphics_impl_lib.cpp
graphics_lib.cpp API: replace strcpy() with strlcpy() various places 2013-06-03 15:04:20 -07:00
graphics_lib.h
gutil.cpp initialize fields in constructors 2015-10-20 17:57:57 +02:00
gutil.h API, SCR: Switch from *.txf fonts to TrueType fonts in graphics apps, ensuring that all related files have no licensing issues 2012-08-02 06:53:11 +00:00
gutil_text.cpp API: replace strcpy() with strlcpy() various places 2013-06-03 15:04:20 -07:00
mac_icon.cpp Mac: add comments that mac_icon.cpp and MakeAppIcon_h utility are obsolete, describing new preferred method for adding icons to Mac science applications. 2017-02-27 06:37:48 -08:00
macglutfix.m API: fix compile error on Mac 2012-02-23 00:37:30 +00:00
make_app_icon_h.cpp Mac: add comments that mac_icon.cpp and MakeAppIcon_h utility are obsolete, describing new preferred method for adding icons to Mac science applications. 2017-02-27 06:37:48 -08:00
reduce.h
reduce_lib.cpp API GRAPHICS Fixed the reason the SETI@home 3D graph wasn't showing up. If 2015-12-09 12:59:40 -08:00
reduce_main.cpp
static_graphics.cpp
ttfont.cpp ttfont: code format 2014-01-19 16:52:40 -08:00
ttfont.h ttfont: code format 2014-01-19 16:52:40 -08:00
windows_opengl.cpp API: replace strcpy() with strlcpy() various places 2013-06-03 15:04:20 -07:00
x_opengl.cpp API: replace strcpy() with strlcpy() various places 2013-06-03 15:04:20 -07:00
x_opengl.h