[Mesa-dev] [PATCH 21/24] pipe-loader: use PTHREAD_LIBS over -lpthread

Emil Velikov emil.l.velikov at gmail.com
Sat Mar 29 05:48:58 PDT 2014


On 28/03/14 21:48, Matt Turner wrote:
> On Thu, Mar 27, 2014 at 2:00 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
>> ---
>>  src/gallium/targets/pipe-loader/Makefile.am | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am
>> index fae4fa3..6e78a75 100644
>> --- a/src/gallium/targets/pipe-loader/Makefile.am
>> +++ b/src/gallium/targets/pipe-loader/Makefile.am
>> @@ -40,10 +40,10 @@ PIPE_LIBS = \
>>         $(top_builddir)/src/gallium/drivers/rbug/librbug.la \
>>         $(top_builddir)/src/gallium/drivers/trace/libtrace.la \
>>         $(top_builddir)/src/gallium/drivers/galahad/libgalahad.la \
>> -       $(DLOPEN_LIBS) \
>> +       -lm \
>>         $(CLOCK_LIB) \
>> -       -lpthread \
>> -       -lm
>> +       $(PTHREAD_LIBS) \
>> +       $(DLOPEN_LIBS)
> 
> Why is there so much shuffling going on here? Just make the single
> change the commit summary says?
> 
The same pattern is used pretty much everywhere and it makes things sligthly
more obvious when skimming through. I'll split this in two patches.

-Emil


More information about the mesa-dev mailing list