blob: e1078f4f059e9c3a30da3185534ad3c2eee7a2f0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
From 79485f17d59ad267dc1add87b23248dff9908132 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Fri, 10 May 2024 11:51:13 +0200
Subject: [PATCH 5/7] csky: allow time64
---
extra/Configs/Config.in | 1 +
libc/sysdeps/linux/csky/bits/uClibc_arch_features.h | 3 ---
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index b814449b4..3a0136c99 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -1028,6 +1028,7 @@ config UCLIBC_USE_TIME64
bool "Use *time64 syscalls instead of 32bit ones (if possible)"
depends on TARGET_arc || \
TARGET_arm || \
+ TARGET_csky || \
TARGET_i386 || \
TARGET_m68k || \
TARGET_microblaze || \
diff --git a/libc/sysdeps/linux/csky/bits/uClibc_arch_features.h b/libc/sysdeps/linux/csky/bits/uClibc_arch_features.h
index 3f5dab80c..1b866cb90 100644
--- a/libc/sysdeps/linux/csky/bits/uClibc_arch_features.h
+++ b/libc/sysdeps/linux/csky/bits/uClibc_arch_features.h
@@ -17,9 +17,6 @@
/* can your target use syscall6() for mmap ? */
#undef __UCLIBC_MMAP_HAS_6_ARGS__
-/* does your target use statx */
-#define __UCLIBC_HAVE_STATX__
-
#ifdef __CSKYABIV2__
#undef __UCLIBC_SYSCALL_ALIGN_64BIT__
#else
--
2.43.2
|