title: Is there a way to add '-lpthread' to default linker flag without change the makefile
body: <p>HI,</p>
  
  <p>I am getting the following linker error on linux:
  My guess is it is missing '-lpthread' in the linker thread.  My question is if there is a way for me to set my environment on linux such that it will add '-lpthread' when it links?</p>
  
  <p>/usr/bin/ld: out/host/linux-x86/obj/STATIC_LIBRARIES/libutils_intermediates/libutils.a(Threads.o): in function androidCreateRawThreadEtc:frameworks/base/libs/utils/Threads.cpp:145: error: undefined reference to 'pthread_create'</p>
  
  <p>Thank you.</p>