From: Waldemar Brodkorb <wbx@openadk.org>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH] uclibc: fix static builds
Date: Thu, 11 May 2023 10:28:36 +0200 [thread overview]
Message-ID: <ZFynNDDPCKXMDGsK@waldemar-brodkorb.de> (raw)
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
.../0001-gettimeofday-fix-static-build.patch | 28 +++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 package/uclibc/0001-gettimeofday-fix-static-build.patch
diff --git a/package/uclibc/0001-gettimeofday-fix-static-build.patch b/package/uclibc/0001-gettimeofday-fix-static-build.patch
new file mode 100644
index 0000000000..f09d77b057
--- /dev/null
+++ b/package/uclibc/0001-gettimeofday-fix-static-build.patch
@@ -0,0 +1,28 @@
+From b19f8f360970ffd0c1a6ac41e07c66dc39790b16 Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@openadk.org>
+Date: Wed, 10 May 2023 08:35:25 +0200
+Subject: [PATCH] gettimeofday: fix static build
+
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+---
+ libc/sysdeps/linux/common/gettimeofday.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/libc/sysdeps/linux/common/gettimeofday.c b/libc/sysdeps/linux/common/gettimeofday.c
+index e5141088e..12473a8e6 100755
+--- a/libc/sysdeps/linux/common/gettimeofday.c
++++ b/libc/sysdeps/linux/common/gettimeofday.c
+@@ -9,8 +9,9 @@
+ #include <sys/syscall.h>
+ #include <sys/time.h>
+
++#ifdef SHARED
+ #include "ldso.h"
+-
++#endif
+
+
+ #ifdef __VDSO_SUPPORT__
+--
+2.30.2
+
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2023-05-11 8:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-11 8:28 Waldemar Brodkorb [this message]
2023-05-12 17:13 ` [Buildroot] [PATCH] uclibc: fix static builds Peter Korsgaard
2023-06-12 20:22 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZFynNDDPCKXMDGsK@waldemar-brodkorb.de \
--to=wbx@openadk.org \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.