libunwind: requires glibc if arch in powerpc
authorYousong Zhou <yszhou4tech@gmail.com>
Thu, 30 May 2019 08:30:42 +0000 (08:30 +0000)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 30 May 2019 10:30:45 +0000 (10:30 +0000)
commit1e5f4dcd66807b662f0ffb2bebd0c8bf9bf89c92
treea794485154e6a5b8e2cd425f1759b2bc6c8d8691
parenta765a2178cae2e39b7384149486b819cedf87603
libunwind: requires glibc if arch in powerpc

libunwind for powerpc depends on getcontext() from libc which musl-libc
does not provide because this API and its friends are supposed to be
"obsolescent" [1,2]

 [1] Subject: Re: setcontext/getcontext/makecontext missing?
     https://www.openwall.com/lists/musl/2016/02/04/5
 [2] http://pubs.opengroup.org/onlinepubs/009695399/functions/makecontext.html

Refs: https://github.com/openwrt/packages/issues/8548#issuecomment-497200058
Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
package/libs/libunwind/Makefile