diff options
author | Chris Packham <judge.packham@gmail.com> | 2020-09-14 08:28:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-14 08:28:58 (GMT) |
commit | a6442e19a3c222a0e29126a7931e8d738e14c033 (patch) | |
tree | a54baac9bec0f71ceb9b91f90a19233c621e15df /packages/gdb/9.2/0001-uclibc-no-gettimeofday-clobber.patch | |
parent | 466b0ed748454a46520cd9d2120aec6764436c00 (diff) | |
parent | e48b15666468b5d8b3164759e85e768c89ebb0ac (diff) |
Merge pull request #1386 from galak/gdb-9.2
gdb 9.2 support
Diffstat (limited to 'packages/gdb/9.2/0001-uclibc-no-gettimeofday-clobber.patch')
-rw-r--r-- | packages/gdb/9.2/0001-uclibc-no-gettimeofday-clobber.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/gdb/9.2/0001-uclibc-no-gettimeofday-clobber.patch b/packages/gdb/9.2/0001-uclibc-no-gettimeofday-clobber.patch new file mode 100644 index 0000000..2a549dd --- /dev/null +++ b/packages/gdb/9.2/0001-uclibc-no-gettimeofday-clobber.patch @@ -0,0 +1,33 @@ +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 | 1 + + gnulib/import/m4/gettimeofday.m4 | 1 + + 2 files changed, 2 insertions(+) + +--- a/gnulib/configure ++++ b/gnulib/configure +@@ -20267,6 +20267,7 @@ + case "$host_os" in + # Guess all is fine on glibc systems. + *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; ++ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;; + # If we don't know, assume the worst. + *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; + esac +--- a/gnulib/import/m4/gettimeofday.m4 ++++ b/gnulib/import/m4/gettimeofday.m4 +@@ -111,6 +111,7 @@ + case "$host_os" in + # Guess all is fine on glibc systems. + *-gnu*) gl_cv_func_gettimeofday_clobber="guessing no" ;; ++ *-uclibc*) gl_cv_func_gettimeofday_clobber="guessing no" ;; + # If we don't know, assume the worst. + *) gl_cv_func_gettimeofday_clobber="guessing yes" ;; + esac |