From e2f8eb43a641d9cd40fbac86764a61c3f7a9abd3 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Fri, 19 Dec 2025 15:06:20 +0700 Subject: [PATCH] Reduce logs on openlibm and warning on time.h --- Makefile | 2 +- src/header/time/cbindgen.toml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8a49bd401f..0c350fd996 100644 --- a/Makefile +++ b/Makefile @@ -212,5 +212,5 @@ $(BUILD)/openlibm: openlibm touch $@ $(BUILD)/openlibm/libopenlibm.a: $(BUILD)/openlibm $(BUILD)/release/librelibc.a - $(MAKE) AR=$(AR) CC="$(CC_WRAPPER) $(CC)" LD=$(LD) CPPFLAGS="$(CPPFLAGS) -fno-stack-protector -I$(shell pwd)/include -I$(TARGET_HEADERS)" -C $< libopenlibm.a + $(MAKE) -s AR=$(AR) CC="$(CC_WRAPPER) $(CC)" LD=$(LD) CPPFLAGS="$(CPPFLAGS) -fno-stack-protector -I$(shell pwd)/include -I$(TARGET_HEADERS)" -C $< libopenlibm.a ./renamesyms.sh "$@" "$(BUILD)/release/deps/" diff --git a/src/header/time/cbindgen.toml b/src/header/time/cbindgen.toml index c3fdddfb1f..a71cdf3052 100644 --- a/src/header/time/cbindgen.toml +++ b/src/header/time/cbindgen.toml @@ -1,9 +1,12 @@ -sys_includes = ["sys/types.h", "signal.h", "stdint.h", "stddef.h", "features.h"] +sys_includes = ["sys/types.h", "stdint.h", "stddef.h", "features.h"] include_guard = "_RELIBC_TIME_H" language = "C" style = "Tag" no_includes = true cpp_compat = true +after_includes = """ +struct sigevent; +""" [enum] prefix_with_name = true