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/crypt/generic/crypt-stubs.cpp | 7 ------- lib/mlibc/options/crypt/include/crypt.h | 18 ------------------ lib/mlibc/options/crypt/meson.build | 13 ------------- 3 files changed, 38 deletions(-) delete mode 100644 lib/mlibc/options/crypt/generic/crypt-stubs.cpp delete mode 100644 lib/mlibc/options/crypt/include/crypt.h delete mode 100644 lib/mlibc/options/crypt/meson.build (limited to 'lib/mlibc/options/crypt') diff --git a/lib/mlibc/options/crypt/generic/crypt-stubs.cpp b/lib/mlibc/options/crypt/generic/crypt-stubs.cpp deleted file mode 100644 index 65e0d23..0000000 --- a/lib/mlibc/options/crypt/generic/crypt-stubs.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include -#include - -char *crypt(const char *, const char *) { - __ensure(!"Not implemented"); - __builtin_unreachable(); -} diff --git a/lib/mlibc/options/crypt/include/crypt.h b/lib/mlibc/options/crypt/include/crypt.h deleted file mode 100644 index bf3a512..0000000 --- a/lib/mlibc/options/crypt/include/crypt.h +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef _CRYPT_H -#define _CRYPT_H - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef __MLIBC_ABI_ONLY - -char *crypt(const char *, const char *); - -#endif /* !__MLIBC_ABI_ONLY */ - -#ifdef __cplusplus -} -#endif - -#endif // _CRYPT_H diff --git a/lib/mlibc/options/crypt/meson.build b/lib/mlibc/options/crypt/meson.build deleted file mode 100644 index a476f34..0000000 --- a/lib/mlibc/options/crypt/meson.build +++ /dev/null @@ -1,13 +0,0 @@ -if disable_crypt_option - subdir_done() -endif - -libc_sources += files( - 'generic/crypt-stubs.cpp', -) - -if not no_headers - install_headers( - 'include/crypt.h', - ) -endif -- cgit v1.2.3