package/gdb: fix gnulib issue with musl and uClibc toolchains
authorRomain Naour <romain.naour@gmail.com>
Sun, 24 Jul 2016 14:49:13 +0000 (16:49 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 24 Jul 2016 19:52:29 +0000 (21:52 +0200)
commit560334bb2a46a77081a3944d092df7732dfca432
treeb796caef67d9f58e12637d633b9b1fa934c3c31d
parent5f2ff6064497637d1af04a163d83e849902f4bc7
package/gdb: fix gnulib issue with musl and uClibc toolchains

Starting with gdb 7.11, the bundled gnulib want to use rpl_gettimeofday
(gettimeofday replacement) due bad guessing when cross-compiling with musl
and uClibc toolchains. Instead of patching gnulib configure script to fix
the test, use gl_cv_func_gettimeofday_clobber=no to not use rpl_gettimeofday.

Thanks to Thomas Petazzoni to suggest this patch.

Reported upstream:
https://sourceware.org/bugzilla/show_bug.cgi?id=19798

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gdb/gdb.mk