diff options
author | Timo Teras <timo.teras@iki.fi> | 2010-05-07 17:19:19 +0300 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2010-05-07 08:27:39 -0700 |
commit | 685a6f283e98657104b71a7d694c99f19e454afa (patch) | |
tree | d6470c0a5407f5d4f5f6fc097d8521ffd7428800 /libpthread/nptl/pthread_mutexattr_init.c | |
parent | 0b7acfa800444525498442032b47bfd7d066c72b (diff) |
static build: fix internal locking weaks to get pulled in always
Linker is smart and does not pull in weaks.os, ever. This happens
because that compilation unit does not get strong references and
ld eliminates dead code. We really need the weaks for static build
in a compilation unit that is always there, otherwise it won't work.
Signed-off-by: Timo Teras <timo.teras@iki.fi>
Acked-by: Roman I Khimov <khimov@altell.ru>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/pthread_mutexattr_init.c')
0 files changed, 0 insertions, 0 deletions