The patch "010-fix-non-glibc-builds.patch" is broken. The test for
HAVE_EXECINFO_H must happen after including "<autoconfig.h>".
Instead of fixing the patch this commit removes it. In lieu,
CONFIGURES_ARGS are added to the Makefile. These disable the building of
some tools that are not packaged anyway. Like this, "xpp/xtalk/debug.c"
is avoided, hence the patch becomes irrelevant.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Currently builds for ARC are failing, causing follow-up breakage. It
seems that uclibc defines __GLIBC__ on the build bots.
This commit adds a test for execinfo.h to the configure script. The
result of the test is then used in xpp/xtalk/debug.c.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Add two patches to fix general compile issues. The first masks out some
glibc specific extensions if using a different libc.
The second fixes a compile issue with newer compilers.
Like this it's possible to easily add more executables to the packages
should the need (or wish) arise. This also gets rid of the following
warnings:
cc1: note: someone does not honour COPTS correctly, passed 2 times
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>