On 10/03/2018 12:51 PM, Ross Burton wrote:
Instead of using #define _GNU_SOURCE in some source files which
when building with musl as more files need the define, simply use
AC_USE_SYSTEM_EXTENSIONS in configure.ac to get it defined globally.
I've applied the whole series except patch #6. If you want to have
something like #6 in upstream it would need to be more generic. One
thing we did already in the past is to move the corresponding code into
its own file and have two versions available (backtrace.c IIRC). During
configure step, the right version will be included into the build.
Anyway I messaged the commit message slightly. I hope you don't mind.