Skip to content

Commit 3330a7b

Browse files
committed
removed dependencies for baremetal implementation of localtime and added
baremetal entrypoint object for localtime_r
1 parent 4333e6c commit 3330a7b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

libc/src/time/baremetal/CMakeLists.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ add_entrypoint_object(
1515
localtime.cpp
1616
HDRS
1717
../localtime.h
18-
DEPENDS
19-
libc.hdr.time_macros
20-
libc.hdr.types.struct_timespec
2118
)
2219

20+
add_entrypoint_object(
21+
localtime_r
22+
SRCS
23+
localtime_r.cpp
24+
HDRS
25+
../localtime.h
26+
)

0 commit comments

Comments
 (0)