coreutils: add gnulib patch to fix librt/libthread link in static case
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 20 Feb 2014 23:04:50 +0000 (00:04 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 21 Feb 2014 07:52:31 +0000 (08:52 +0100)
commit0cb2b158d4650ab0f0648056c212686d026997ae
tree305d6a1e36d61f9f1facb75cc58145a4a3adc646
parentc2d4af6e03cb73187c37c13b71289cb62c3ae0b4
coreutils: add gnulib patch to fix librt/libthread link in static case

coreutils was not building in the static link case with uClibc, due to
binaries being linked with librt (for timer functions), but not with
libpthread. However, librt uses functions from libpthread, so both
must be specified. This lack of linking against libpthread was caused
by a deficiency in one of the gnulib m4 macro, for which we add a patch.

Fixes:

  http://autobuild.buildroot.org/results/bd4/bd4cc779b46e3837e3d6c43c97eaf42fdfc3a288/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/coreutils/coreutils-02-fix-timer-time-m4.patch [new file with mode: 0644]