Files
buildroot/package
Thomas Petazzoni d83e1902a8 package/gcc: help libbacktrace detection of sync builtins
The logic in libbacktrace/configure.ac to detect if __sync builtins
are available assumes they are as soon as target_subdir is not
empty, i.e when cross-compiling. However, some platforms do not have
__sync builtins, so help the configure script a bit.

"libbacktrace_cv_sys_sync=no" is lost when it is added to
HOST_GCC_COMMON_CONF_ENV because the environment is not exported
when executing the libbacktrace configure script.

Use target_configargs to force "libbacktrace_cv_sys_sync=no" when
executiong the libbacktrace configure script.

Fixes:
https://gitlab.com/bootlin/toolchains-builder/-/jobs/729359681

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Romain: use target_configargs="libbacktrace_cv_sys_sync=no"]
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 0bec4c8a4a)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-10-03 08:08:40 +02:00
..
2020-07-22 13:37:23 +02:00
2020-10-03 07:57:02 +02:00
2020-05-09 16:51:17 +02:00
2020-08-13 19:02:31 +02:00
2020-08-28 18:01:15 +02:00
2020-04-27 22:28:44 +02:00
2020-07-20 21:57:07 +02:00
2020-09-29 16:17:56 +02:00
2020-07-22 13:46:52 +02:00
2020-05-25 22:04:35 +02:00
2020-05-01 14:09:42 +02:00
2020-10-02 22:32:54 +02:00
2020-04-25 21:28:53 +02:00
2020-07-13 08:36:53 +02:00
2020-07-22 13:42:11 +02:00
2020-05-01 15:08:04 +02:00
2020-05-26 12:02:13 +02:00
2020-10-02 10:19:02 +02:00
2020-07-22 09:01:18 +02:00
2020-08-18 17:24:28 +02:00
2020-08-28 18:43:39 +02:00
2020-07-15 23:20:40 +02:00
2020-07-22 13:40:39 +02:00
2020-09-25 17:38:31 +02:00
2020-09-29 17:29:20 +02:00
2020-05-01 14:04:51 +02:00
2020-04-25 22:34:43 +02:00
2020-05-02 18:34:30 +02:00
2020-05-25 22:52:53 +02:00
2020-04-25 21:29:18 +02:00
2020-05-25 22:48:44 +02:00
2020-05-17 21:38:47 +02:00
2020-07-22 13:42:11 +02:00
2020-08-28 18:43:39 +02:00
2020-09-29 20:35:07 +02:00
2020-04-27 22:26:40 +02:00
2020-09-29 17:20:42 +02:00
2020-04-27 22:20:16 +02:00
2020-05-25 22:48:44 +02:00
2020-05-03 21:57:44 +02:00