mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-27 00:11:05 +00:00
36 lines
1.5 KiB
Diff
36 lines
1.5 KiB
Diff
|
Improve gnulib in gdb's guess work, gettimeofday() works in uClibcm promise.
|
||
|
|
||
|
This patch helps building x86_64-unknown-linux-uclibc toolchains, the final
|
||
|
gdb-native step otherwise fails when linking the libinproctrace.so
|
||
|
|
||
|
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
|
||
|
Signed-off-by: Alexey Neyman <stilor@att.net>
|
||
|
|
||
|
---
|
||
|
gnulib/configure | 2 ++
|
||
|
gnulib/import/m4/gettimeofday.m4 | 2 ++
|
||
|
2 files changed, 4 insertions(+)
|
||
|
|
||
|
--- a/gnulib/configure
|
||
|
+++ b/gnulib/configure
|
||
|
@@ -20745,6 +20745,8 @@
|
||
|
case "$host_os" in
|
||
|
# Guess all is fine on glibc systems.
|
||
|
*-gnu* | gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;;
|
||
|
+ # Guess all is fine on uclibc systems.
|
||
|
+ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;;
|
||
|
# Guess all is fine on musl systems.
|
||
|
*-musl*) gl_cv_func_gettimeofday_clobber="guessing no" ;;
|
||
|
# Guess no on native Windows.
|
||
|
--- a/gnulib/import/m4/gettimeofday.m4
|
||
|
+++ b/gnulib/import/m4/gettimeofday.m4
|
||
|
@@ -105,6 +105,8 @@
|
||
|
case "$host_os" in
|
||
|
# Guess all is fine on glibc systems.
|
||
|
*-gnu* | gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;;
|
||
|
+ # Guess all is fine on uclibc systems.
|
||
|
+ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;;
|
||
|
# Guess all is fine on musl systems.
|
||
|
*-musl*) gl_cv_func_gettimeofday_clobber="guessing no" ;;
|
||
|
# Guess no on native Windows.
|