summaryrefslogtreecommitdiffstats
path: root/package/php/0007-phpdbg_prompt-enclose-phpdbg_load_module_or_extensio.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-08-08 15:11:04 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-08-09 15:50:04 +0200
commitf1cbfeea95e6287c7a666aafc182ffa318eff262 (patch)
tree4b185f7ce0901891eaeafd8866f20da6119f963f /package/php/0007-phpdbg_prompt-enclose-phpdbg_load_module_or_extensio.patch
parent8457c2190a98487ed0ae64e213cacefe42aa7bb2 (diff)
downloadbuildroot-f1cbfeea95e6287c7a666aafc182ffa318eff262.tar.gz
buildroot-f1cbfeea95e6287c7a666aafc182ffa318eff262.zip
libsigsegv: make the architecture dependencies more robust
While musl and glibc provide the ucontext structure definition on all architectures they support, it is not the case of uClibc. We have been excluding more and more architectures over time, but this isn't really nice as we continuously need to add more. Latest example: the fact that ucontext on ARM is only available on ARM platforms that support the ARM instruction set (i.e not on the Thumb-2 only Cortex-M platforms). Therefore, we introduce a BR2_PACKAGE_LIBSIGSEGV_ARCH_SUPPORTS variable, which: - is set to 'y' for musl and glibc - is set to 'y' for uClibc for the only architectures that are known to provide ucontext (those are the ones that select ARCH_HAS_UCONTEXT in uClibc. Note that we remove the comment, as it would become a way too complicated comment, and we usually don't add comment for such complicated situations (see libunwind for a similar example). Fixes: http://autobuild.buildroot.net/results/b1e40b3ec64cd98b535d83e89e5780c46680e095/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/php/0007-phpdbg_prompt-enclose-phpdbg_load_module_or_extensio.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud