diff options
| author | Jo-Philipp Wich <jow@openwrt.org> | 2015-06-26 17:09:13 +0200 |
|---|---|---|
| committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-06-26 17:17:13 +0200 |
| commit | cbf11196b75119d40c6632e3a1585d5b4997fc01 (patch) | |
| tree | e3896e54ca6f7094a7faec6872d65908252230a2 /lang/python/python3 | |
| parent | 940c522cf694b87a58a20152401d9dbe7f0a935c (diff) | |
ntpd: fix fortify source compatibility
The ntpd package ships autoconf macros which attempt to test for the C99
compliance of `snprintf()` and `vsnprintf()`.
Those macros unconditionally consider the functions not compliant in a cross
compile setting and therfore break all subsequent configure tests because
the `snprintf` and `vsnprintf` symbols are shadowed with `#define` directives
redirecting them to their respectiv gnulib replacements.
The fortify source headers in turn will `#undef` those defines when wrapping
the associated functions and therfore cause all `conftest` programs to emit
a failure.
Pass the required magic autoconf cache variables via `CONFIGURE_VARS` to let
`./configure` assume C99 compliance of the affected functions, thus fixing
the build.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'lang/python/python3')
0 files changed, 0 insertions, 0 deletions
