diff mbox series

[meta-networking,5/5] ntp: Cache snprintf/vsnprintf C99'ness checks

Message ID 20250124004825.3525640-5-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/5] syslog-ng: Remove references to ACLOCALEXTRAPATH | expand

Commit Message

Khem Raj Jan. 24, 2025, 12:48 a.m. UTC
we cache hw_cv_func_snprintf_c99 and hw_cv_func_vsnprintf_c99 in
meta/site/common-linux but somehow configure now tries to compute it
and since it uses ac_try_run they fail in cross compilation, as a result
configure decides to use rpl_snprintf and rpl_vsnprintf functions and
they fail during linking stage

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb b/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb
index 302cf9915f..1f4cba1bbd 100644
--- a/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb
+++ b/meta-networking/recipes-support/ntp/ntp_4.2.8p18.bb
@@ -60,6 +60,8 @@  inherit autotools update-rc.d useradd systemd pkgconfig
 EXTRA_OECONF += "--with-net-snmp-config=no \
                  --without-ntpsnmpd \
                  ac_cv_header_readline_history_h=no \
+                 hw_cv_func_snprintf_c99=yes \
+                 hw_cv_func_vsnprintf_c99=yes \
                  --with-yielding_select=yes \
                  --with-locfile=redhat \
                  --without-rpath \