Patches require a bit of rework: - dropped 010-missing-header.patch - add 010-do-not-run-test-progs.patch - re-updated 020-filterh-use-host-built-version.patch - Makefile.in gets regenerated from PKG_FIXUP:=autoreconf - added PKG_FIXUP:=autoreconf ; it's easier to patch automake stuff that big configure scripts Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
19 lines
577 B
Diff
19 lines
577 B
Diff
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -454,16 +454,6 @@ if test $ondarwin -eq 1; then
|
|
else
|
|
stdc="gnu"
|
|
fi
|
|
-AC_RUN_IFELSE(
|
|
-[AC_LANG_PROGRAM([], [dnl
|
|
- #ifdef __STDC_VERSION__
|
|
- #if __STDC_VERSION__ >= 201112L
|
|
- return 0;
|
|
- #endif
|
|
- #endif
|
|
- return 1;
|
|
- ])], [CFLAGS="$CFLAGS -std=${stdc}11"], [CFLAGS="$CFLAGS -std=${stdc}99"])
|
|
-AC_CHECK_HEADERS([stdint.h stdbool.h], [], [AC_MSG_ERROR([toolchain does not have C99 headers])])
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Outputs
|