From: Adhemerval Zanella Date: Wed, 12 Jan 2022 15:48:20 +0000 (-0300) Subject: Do not build libresolv module with 64 bit time_t flags X-Git-Tag: glibc-2.35~104 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0ed50e1c783395c424e4d51587b0ade5c1c3006;p=thirdparty%2Fglibc.git Do not build libresolv module with 64 bit time_t flags It is not used to build installed programs. It also fixes resolv/tst-p_secstodate on big endian machines. Checked on i686-linux-gnu and powerpc-linux-gnu-power4. --- diff --git a/Makeconfig b/Makeconfig index 06f1cca3202..9b6fc6b08f9 100644 --- a/Makeconfig +++ b/Makeconfig @@ -867,7 +867,7 @@ endif +extra-math-flags = $(if $(filter libm,$(in-module)),-fno-math-errno,-fmath-errno) # Use 64 bit time_t support for installed programs -installed-modules = nonlib nscd lddlibc4 libresolv ldconfig locale_programs \ +installed-modules = nonlib nscd lddlibc4 ldconfig locale_programs \ iconvprogs libnss_files libnss_compat libnss_db libnss_hesiod \ libutil libpcprofile libSegFault +extra-time-flags = $(if $(filter $(installed-modules),\