mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 05:43:09 +00:00
uClibc-ng: Bring in upstream fix for static builds
Bring in an upstream fix that affects static builds of uClibc-ng. Fixes #1959 Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
parent
35676f3a2c
commit
b7a25ee7b0
22
packages/uClibc-ng/1.0.43/0000-gettimeofday-fix-static-build.patch
vendored
Normal file
22
packages/uClibc-ng/1.0.43/0000-gettimeofday-fix-static-build.patch
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
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: gettimeofday: fix static build
|
||||||
|
|
||||||
|
---
|
||||||
|
libc/sysdeps/linux/common/gettimeofday.c | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- 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__
|
Loading…
Reference in New Issue
Block a user