aboutsummaryrefslogtreecommitdiff
path: root/conform
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-09-10 09:22:19 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-10-01 08:44:41 -0300
commit4d8965f1304a205f7580fe23bb2d462828d1f8e5 (patch)
tree2c192db93ee4c0d444f05156ef152a52a39aa3df /conform
parent3f1932ed2e6b643848ea7a42f9f15ed80552befb (diff)
downloadglibc-4d8965f1304a205f7580fe23bb2d462828d1f8e5.tar.xz
glibc-4d8965f1304a205f7580fe23bb2d462828d1f8e5.zip
Disable _TIME_BITS if the compiler defaults to it
Even though building glibc with 64 bit time_t flags is not supported, and the usual way is to patch the build system to avoid it; some systems do enable it by default, and it increases the requirements to build glibc in such cases (it also does not help newcomers when trying to build glibc). The conform namespace and linknamespace tests also do not expect that flag to be set by default, so disable it as well. Checked with a build/check for major ABI and some (i386, arm, mipsel, hppa) with a toolchain that has LFS flags by default. Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'conform')
-rw-r--r--conform/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/conform/Makefile b/conform/Makefile
index 50293a195b..57a1f5b546 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -372,7 +372,7 @@ test-xfail-UNIX98/ndbm.h/conform = yes
test-xfail-XOPEN2K/ndbm.h/conform = yes
test-xfail-XOPEN2K8/ndbm.h/conform = yes
-conformtest-cc-flags = -I../include $(+sysdep-includes) $(sysincludes) -I.. $(no-file-offset-bits-source)
+conformtest-cc-flags = -I../include $(+sysdep-includes) $(sysincludes) -I.. $(no-file-offset-bits-source) $(no-time-bits-source)
# conformtest-xfail-conds may be set by a sysdeps Makefile fragment to
# a list of conditions that are considered to be true when encountered
# in xfail[cond]- lines in test expectations.