aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-01-12 12:48:20 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-01-12 12:48:20 -0300
commitf0ed50e1c783395c424e4d51587b0ade5c1c3006 (patch)
tree174bca868b43ea27c8a3e2cebf7534d0f1f95ab1
parent572e0c855495bfbcd2323584a243430e6b7c8bb3 (diff)
downloadglibc-f0ed50e1c783395c424e4d51587b0ade5c1c3006.tar
glibc-f0ed50e1c783395c424e4d51587b0ade5c1c3006.tar.gz
glibc-f0ed50e1c783395c424e4d51587b0ade5c1c3006.tar.bz2
glibc-f0ed50e1c783395c424e4d51587b0ade5c1c3006.zip
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.
-rw-r--r--Makeconfig2
1 files changed, 1 insertions, 1 deletions
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),\