From f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 7 Mar 2024 17:28:52 -0500 Subject: build: Build mlibc + add distclean target Signed-off-by: Ian Moffett --- lib/mlibc/options/ansi/generic/errno-stubs.cpp | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 lib/mlibc/options/ansi/generic/errno-stubs.cpp (limited to 'lib/mlibc/options/ansi/generic/errno-stubs.cpp') diff --git a/lib/mlibc/options/ansi/generic/errno-stubs.cpp b/lib/mlibc/options/ansi/generic/errno-stubs.cpp deleted file mode 100644 index 8229a9a..0000000 --- a/lib/mlibc/options/ansi/generic/errno-stubs.cpp +++ /dev/null @@ -1,12 +0,0 @@ -#include - -int __thread __mlibc_errno; - -char *program_invocation_name = nullptr; -char *program_invocation_short_name = nullptr; -extern char *__progname __attribute__((__weak__, __alias__("program_invocation_short_name"))); -extern char *__progname_full __attribute__((__weak__, __alias__("program_invocation_name"))); - -int *__errno_location() { - return &__mlibc_errno; -} -- cgit v1.2.3