benchtests: Link against objects in build directory
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 15 Apr 2014 09:03:06 +0000 (14:33 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 15 Apr 2014 09:03:06 +0000 (14:33 +0530)
commitbb9c256fb01b09bc13a58ada3ea045ac9efd4834
treec498a696c840d17ec3e52bb6d023afb7cbef2497
parentf737dfd071f12584316ef90f2c71e33c2dc9801e
benchtests: Link against objects in build directory

Using -lm and -lpthread results in the shared objects in the system
being used to link against.  This happened to work for libm because
there haven't been any changes to the libm ABI recently that could
break the existing benchmarks.  This doesn't always work for the
pthread benchmarks.  The correct way to build against libraries in the
build directory is to have the binaries explicitly depend on them so
that $(+link) can pick them up.
ChangeLog
benchtests/Makefile