diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-23 21:29:55 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-23 21:30:29 +0200 |
commit | adc82cc89b19c61c4f77a8b45e03733992fef665 (patch) | |
tree | c1abc593df289d5aece5c87dfd26623acec70d44 | |
parent | b86c6054450c1fe63164d4ce037de681f296bed5 (diff) |
libpthread: link against `rt` for older glibc
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -31,7 +31,7 @@ wrapper.a: private override CFLAGS += -fvisibility=hidden wrapper.a: src/wrapper/verbose.h src/wrapper/wrapper.c src/wrapper/wrapper.h runtime/libpthread.so: private override CPPFLAGS += -D_GNU_SOURCE -runtime/libpthread.so: private override LDLIBS += -lpthread +runtime/libpthread.so: private override LDLIBS += -lpthread -lrt runtime/libpthread.so: src/libpthread.c runtime/libdl.so: private override CPPFLAGS += -D_GNU_SOURCE -DLINKER_DEBUG=1 runtime/libdl.so: private override CFLAGS += -Wno-pedantic -Wno-variadic-macros -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast |