diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-07 17:28:52 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-07 18:24:51 -0500 |
commit | f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 (patch) | |
tree | 93b156621dc0303816b37f60ba88051b702d92f6 /lib/mlibc/options/crypt | |
parent | bd5969fc876a10b18613302db7087ef3c40f18e1 (diff) |
build: Build mlibc + add distclean target
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib/mlibc/options/crypt')
-rw-r--r-- | lib/mlibc/options/crypt/generic/crypt-stubs.cpp | 7 | ||||
-rw-r--r-- | lib/mlibc/options/crypt/include/crypt.h | 18 | ||||
-rw-r--r-- | lib/mlibc/options/crypt/meson.build | 13 |
3 files changed, 0 insertions, 38 deletions
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 <crypt.h> -#include <bits/ensure.h> - -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 |