[COMMITTED] Do not build libresolv module with 64 bit time_t flags

Message ID 20220112155109.2028174-1-adhemerval.zanella@linaro.org
State New
Headers show
Series
  • [COMMITTED] Do not build libresolv module with 64 bit time_t flags
Related show

Commit Message

Sunil K Pandey via Libc-alpha Jan. 12, 2022, 3:51 p.m.
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.
---
 Makeconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.32.0

Patch

diff --git a/Makeconfig b/Makeconfig
index 06f1cca320..9b6fc6b08f 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),\