diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-08-25 18:19:31 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-08-25 18:27:01 +0200 |
commit | 9919e82b97c0a9b61c1b2e74586a9e1bfe9a3356 (patch) | |
tree | 7835799fd8a95ac5b33aaf8e60951ba5740abbfa /toolbox/cp | |
parent | f934a3ca934b7d2fac7e4dc493204d64a70013ea (diff) | |
download | system_core-9919e82b97c0a9b61c1b2e74586a9e1bfe9a3356.tar.gz system_core-9919e82b97c0a9b61c1b2e74586a9e1bfe9a3356.tar.bz2 system_core-9919e82b97c0a9b61c1b2e74586a9e1bfe9a3356.zip |
Fix the build on Trisquel 9replicant-6.0-0004-rc6
Without that fix we have:
host C++: libbacktrace <= system/core/libbacktrace/BacktraceCurrent.cpp
In file included from system/core/libbacktrace/Backtrace.cpp:27:
system/core/include/backtrace/Backtrace.h:52:18: error:
typedef redefinition with different types ('ucontext' vs 'struct ucontext_t')
typedef ucontext ucontext_t;
^
/usr/include/x86_64-linux-gnu/sys/ucontext.h:150:5: note: previous definition is here
} ucontext_t;
^
1 error generated.
In file included from system/core/libbacktrace/BacktraceCurrent.cpp:29:
system/core/include/backtrace/Backtrace.h:52:18: error:
typedef redefinition with different types ('ucontext' vs 'struct ucontext_t')
typedef ucontext ucontext_t;
^
/usr/include/x86_64-linux-gnu/sys/ucontext.h:150:5:
note: previous definition is here
} ucontext_t;
^
So to workaround that, we disable the build of libbacktrace on the host
to avoid the conflicting headers.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'toolbox/cp')
0 files changed, 0 insertions, 0 deletions