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/dummy-libs/libcrypt/src/dummy.cpp | 6 ------ lib/mlibc/dummy-libs/libdl/src/dummy.cpp | 6 ------ lib/mlibc/dummy-libs/libm/src/dummy.cpp | 6 ------ lib/mlibc/dummy-libs/libpthread/src/dummy.cpp | 6 ------ lib/mlibc/dummy-libs/libresolv/src/dummy.cpp | 6 ------ lib/mlibc/dummy-libs/librt/src/dummy.cpp | 6 ------ lib/mlibc/dummy-libs/libssp/src/dummy.cpp | 6 ------ lib/mlibc/dummy-libs/libssp_nonshared/src/dummy.cpp | 6 ------ lib/mlibc/dummy-libs/libutil/src/dummy.cpp | 6 ------ 9 files changed, 54 deletions(-) delete mode 100644 lib/mlibc/dummy-libs/libcrypt/src/dummy.cpp delete mode 100644 lib/mlibc/dummy-libs/libdl/src/dummy.cpp delete mode 100644 lib/mlibc/dummy-libs/libm/src/dummy.cpp delete mode 100644 lib/mlibc/dummy-libs/libpthread/src/dummy.cpp delete mode 100644 lib/mlibc/dummy-libs/libresolv/src/dummy.cpp delete mode 100644 lib/mlibc/dummy-libs/librt/src/dummy.cpp delete mode 100644 lib/mlibc/dummy-libs/libssp/src/dummy.cpp delete mode 100644 lib/mlibc/dummy-libs/libssp_nonshared/src/dummy.cpp delete mode 100644 lib/mlibc/dummy-libs/libutil/src/dummy.cpp (limited to 'lib/mlibc/dummy-libs') diff --git a/lib/mlibc/dummy-libs/libcrypt/src/dummy.cpp b/lib/mlibc/dummy-libs/libcrypt/src/dummy.cpp deleted file mode 100644 index 6c3a4c2..0000000 --- a/lib/mlibc/dummy-libs/libcrypt/src/dummy.cpp +++ /dev/null @@ -1,6 +0,0 @@ - -// We build an empty libcrypt because shadow expects -lcrypt -// The actual crypt functions reside inside libc - -extern "C" void __mlibc_libcrypt_dummy(void) { } - diff --git a/lib/mlibc/dummy-libs/libdl/src/dummy.cpp b/lib/mlibc/dummy-libs/libdl/src/dummy.cpp deleted file mode 100644 index c9d4287..0000000 --- a/lib/mlibc/dummy-libs/libdl/src/dummy.cpp +++ /dev/null @@ -1,6 +0,0 @@ - -// We build an empty libdl because g++ always links with -ldl -// The actual functions reside inside libc - -extern "C" void __mlibc_libdl_dummy(void) { } - diff --git a/lib/mlibc/dummy-libs/libm/src/dummy.cpp b/lib/mlibc/dummy-libs/libm/src/dummy.cpp deleted file mode 100644 index eed43ca..0000000 --- a/lib/mlibc/dummy-libs/libm/src/dummy.cpp +++ /dev/null @@ -1,6 +0,0 @@ - -// We build an empty libm because g++ always links with -lm -// The actual math functions reside inside libc - -extern "C" void __mlibc_libm_dummy(void) { } - diff --git a/lib/mlibc/dummy-libs/libpthread/src/dummy.cpp b/lib/mlibc/dummy-libs/libpthread/src/dummy.cpp deleted file mode 100644 index 3f8c51a..0000000 --- a/lib/mlibc/dummy-libs/libpthread/src/dummy.cpp +++ /dev/null @@ -1,6 +0,0 @@ - -// We build an empty libpthread because g++ always links with -lpthread -// The actual functions reside inside libc - -extern "C" void __mlibc_libpthread_dummy(void) { } - diff --git a/lib/mlibc/dummy-libs/libresolv/src/dummy.cpp b/lib/mlibc/dummy-libs/libresolv/src/dummy.cpp deleted file mode 100644 index 5feb1c3..0000000 --- a/lib/mlibc/dummy-libs/libresolv/src/dummy.cpp +++ /dev/null @@ -1,6 +0,0 @@ - -// We build an empty libresolv because some programs always links with -lresolv -// The actual functions reside inside libc - -extern "C" void __mlibc_libresolv_dummy(void) { } - diff --git a/lib/mlibc/dummy-libs/librt/src/dummy.cpp b/lib/mlibc/dummy-libs/librt/src/dummy.cpp deleted file mode 100644 index 35c3852..0000000 --- a/lib/mlibc/dummy-libs/librt/src/dummy.cpp +++ /dev/null @@ -1,6 +0,0 @@ - -// We build an empty librt because g++ always links with -lrt -// The actual functions reside inside libc - -extern "C" void __mlibc_librt_dummy(void) { } - diff --git a/lib/mlibc/dummy-libs/libssp/src/dummy.cpp b/lib/mlibc/dummy-libs/libssp/src/dummy.cpp deleted file mode 100644 index 43286c1..0000000 --- a/lib/mlibc/dummy-libs/libssp/src/dummy.cpp +++ /dev/null @@ -1,6 +0,0 @@ - -// We build an empty libsso because some packages expect -lssp -// The actual ssp functions are provided by libc. - -extern "C" void __mlibc_libssp_dummy(void) { } - diff --git a/lib/mlibc/dummy-libs/libssp_nonshared/src/dummy.cpp b/lib/mlibc/dummy-libs/libssp_nonshared/src/dummy.cpp deleted file mode 100644 index dcd8e90..0000000 --- a/lib/mlibc/dummy-libs/libssp_nonshared/src/dummy.cpp +++ /dev/null @@ -1,6 +0,0 @@ - -// We build an empty libsso because some packages expect -lssp_nonshared -// The actual ssp functions are provided by libc. - -extern "C" void __mlibc_libssp_nonshared_dummy(void) { } - diff --git a/lib/mlibc/dummy-libs/libutil/src/dummy.cpp b/lib/mlibc/dummy-libs/libutil/src/dummy.cpp deleted file mode 100644 index c295ee5..0000000 --- a/lib/mlibc/dummy-libs/libutil/src/dummy.cpp +++ /dev/null @@ -1,6 +0,0 @@ - -// We build an empty libutil because g++ always links with -lutil -// The actual functions reside inside libc - -extern "C" void __mlibc_libutil_dummy(void) { } - -- cgit v1.2.3