boinc/sched
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
..
Makefile.am Fix LDFLAGS for cross-compilation 2017-03-04 16:46:41 +01:00
adjust_user_priority.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
antique_file_deleter.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
assimilate_handler.h Daemons: add usage function to project specific handler 2015-10-13 16:39:04 +02:00
assimilator.cpp Expand usage of HTTPS and fix a few URLs 2016-03-08 20:04:28 +00:00
assimilator.py
census.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
credit.cpp server: more 64-bit ID fixes 2015-07-29 17:32:57 -07:00
credit.h server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
credit_test.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
db_dump.cpp Expand usage of HTTPS and fix a few URLs 2016-03-08 20:04:28 +00:00
db_dump_spec.xml
db_purge.cpp use safe_strcat() and snprintf() to prevent buffer overflow 2015-10-22 16:07:22 +02:00
delete_file.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
edf_sim.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
edf_sim.h client: Cleanup low hanging fruit with regards to cleaning up strcpy and strcat use. 2016-02-15 21:53:07 -05:00
feeder.cpp Replace strncpy() with strlcpy() various places. 2016-02-01 20:23:18 -08:00
file_deleter.cpp Server: use MAXPATHLEN for char arrays when they contain filenames 2016-04-25 09:33:26 +02:00
file_upload_handler.cpp file upload handler: unrecognized XML is not critical 2016-12-14 13:08:02 -08:00
get_file.cpp server: fix compile error on systems that don't define MAXPATHLEN 2013-08-22 17:01:45 -07:00
handle_request.cpp scheduler: add flags to host description for Vbox extensions present, enabled 2016-06-28 12:19:02 -07:00
handle_request.h
hr.cpp scheduler (HR): detect "ARM" in p_model as well as p_vendor. 2016-07-30 00:07:33 -07:00
hr.h
hr_info.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
hr_info.h client: timestamp all writes to stderr 2014-11-14 13:07:24 -08:00
make_work.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
makefile_plan_class_spec
makefile_validator_test Daemons: enhance validator framework 2016-08-16 11:14:42 +02:00
message_handler.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
plan_class_spec.cpp scheduler: reflect min_ncpus in multithread mem calculation (from WWU) 2016-07-13 13:20:51 -07:00
plan_class_spec.h plan class mechanism: allow mem usage to depend on #CPUs 2016-06-29 13:06:10 -07:00
plan_class_spec.xml.sample scheduler: sample code for the SSE3 plan class must check for "pni" rather than "sse3"; clients report "pni" 2013-08-08 11:00:29 -07:00
pshelper Remote server management: 2014-05-26 14:13:58 +02:00
put_file.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
pymw_assimilator.py
sample_assimilator.cpp sample_assimilator: add --outdir cmdline arg 2016-06-28 11:25:52 -07:00
sample_bitwise_validator.cpp Daemons: enhance validator framework 2016-08-16 11:14:42 +02:00
sample_db_dump_spec.xml
sample_dummy_assimilator.cpp Server (assimilator): add random string to result file names 2015-11-16 19:28:30 -08:00
sample_hr_info.txt
sample_substr_validator.cpp sample substr validator: allow multiple strings 2016-11-23 18:10:45 -08:00
sample_trivial_validator.cpp Daemons: enhance validator framework 2016-08-16 11:14:42 +02:00
sample_work_generator.cpp use snprintf to prevent buffer overflow 2015-10-21 15:39:21 +02:00
sched_array.cpp code cleanup: in scheduler, factor project prefs into their own struct 2016-07-27 15:15:08 -07:00
sched_array.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_assign.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_assign.h scheduler: assigned jobs should respect user app preferences 2013-10-06 21:23:28 -07:00
sched_check.cpp code cleanup: in scheduler, factor project prefs into their own struct 2016-07-27 15:15:08 -07:00
sched_check.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_config.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
sched_config.h server: add <hr_class_static> option 2014-12-10 23:18:40 -08:00
sched_customize.cpp remove compile warnings. Should have done this long ago! 2017-01-20 00:01:25 -08:00
sched_customize.h - Double include protection added to sched_customize.h 2013-03-07 11:31:38 +01:00
sched_driver.cpp sanitize nrequests option 2015-10-28 17:45:25 +01:00
sched_files.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
sched_files.h - scheduler: add feature for deleting no-longer-used sticky files. 2013-03-04 17:39:24 +01:00
sched_hr.cpp
sched_hr.h
sched_limit.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
sched_limit.h scheduler (HR): detect "ARM" in p_model as well as p_vendor. 2016-07-30 00:07:33 -07:00
sched_locality.cpp code cleanup: in scheduler, factor project prefs into their own struct 2016-07-27 15:15:08 -07:00
sched_locality.h
sched_main.cpp Replace strncpy() with strlcpy() various places. 2016-02-01 20:23:18 -08:00
sched_main.h
sched_nci.cpp code cleanup: in scheduler, factor project prefs into their own struct 2016-07-27 15:15:08 -07:00
sched_nci.h scheduler: fix bugs in sending non-compute-intensive jobs 2014-05-26 21:07:07 -07:00
sched_resend.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_resend.h
sched_result.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
sched_result.h
sched_score.cpp code cleanup: in scheduler, factor project prefs into their own struct 2016-07-27 15:15:08 -07:00
sched_score.h scheduler: fix 64-bit ID bug; change default MAX_APP_VERSIONS to 100 2015-07-29 15:55:01 -07:00
sched_send.cpp Scheduler: fix bug in parsing project prefs. 2016-08-20 15:01:44 -07:00
sched_send.h code cleanup: in scheduler, factor project prefs into their own struct 2016-07-27 15:15:08 -07:00
sched_shmem.cpp server: more 64-bit ID fixes 2015-07-29 17:32:57 -07:00
sched_shmem.h server: more 64-bit ID fixes 2015-07-29 17:32:57 -07:00
sched_timezone.cpp Replace strncpy() with strlcpy() various places. 2016-02-01 20:23:18 -08:00
sched_timezone.h
sched_types.cpp Scheduler: fix global preference parsing 2016-10-14 13:38:51 +02:00
sched_types.h Scheduler: fix bug in parsing project prefs. 2016-08-20 15:01:44 -07:00
sched_util.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
sched_util.h server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
sched_util_basic.cpp use safe_strcat() to prevent buffer overflow 2015-10-28 11:15:21 +01:00
sched_util_basic.h check return value of mkdir() 2015-10-28 10:50:15 +01:00
sched_version.cpp code cleanup: in scheduler, factor project prefs into their own struct 2016-07-27 15:15:08 -07:00
sched_version.h Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
script_assimilator.cpp Assimilator: cosmetic changes to usage output 2015-10-29 09:18:18 +01:00
script_validator.cpp Daemons: enhance validator framework 2016-08-16 11:14:42 +02:00
show_shmem.cpp
single_job_assimilator.cpp Server: use MAXPATHLEN for char arrays when they contain filenames 2016-04-25 09:33:26 +02:00
size_regulator.cpp use snprintf to prevent buffer overflow 2015-10-21 16:37:55 +02:00
start start script: create lock and pid files non-world-writeable 2017-01-27 12:12:49 -08:00
target_batch.cpp server: fix some compile warnings 2014-03-19 14:55:16 -07:00
testasm.py
time_stats_log.cpp Add header comments to sched/*.cpp 2016-06-24 15:42:11 -07:00
time_stats_log.h check return value of dup_element_contents() 2015-10-28 14:22:21 +01:00
transitioner.cpp server: more 64-bit ID fixes 2015-07-29 17:32:57 -07:00
transitioner_catchup.php transitioner_catchup.php: fix it. 2015-07-10 10:24:40 -07:00
trickle_credit.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
trickle_deadline.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
trickle_echo.cpp remove dependency of boinc_api.h on str_replace.h (and hence config.h) 2013-06-06 17:31:46 -07:00
trickle_handler.cpp Server: ignore infinite loop defects 2015-11-04 08:20:30 +01:00
trickle_handler.h
update_stats.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00
validate_util.cpp Validator: fix path and filename when in standalone mode 2016-09-21 11:38:55 +02:00
validate_util.h Daemons: enhance validator framework 2016-08-16 11:14:42 +02:00
validate_util2.cpp Validator: log suspicious results 2016-09-01 11:46:37 +02:00
validate_util2.h Validator: implement "suspicious" results 2016-09-01 10:47:45 +02:00
validator.cpp Validator: fix usage info 2016-09-06 10:44:14 +02:00
validator.h Daemons: enhance validator framework 2016-08-16 11:14:42 +02:00
validator_test.cpp Daemons: enhance validator framework 2016-08-16 11:14:42 +02:00
wu_check.cpp server software: handle 64-bit database IDs 2015-07-23 10:11:08 -07:00