From 14eeff65f732d77bc8d93bd5e1979fa6083b66d8 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sun, 30 Sep 2012 23:44:24 +0200 Subject: New Makefile snippet for the "pthread" sysdep Hook the libpthread version when compiling glibc's confstr.c, so that confstr can show it. * sysdeps/pthread/Makefile: New file. --- sysdeps/pthread/Makefile | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sysdeps/pthread/Makefile (limited to 'sysdeps/pthread/Makefile') diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile new file mode 100644 index 0000000..1c30542 --- /dev/null +++ b/sysdeps/pthread/Makefile @@ -0,0 +1,3 @@ +ifeq ($(subdir),posix) +CFLAGS-confstr.c += -DLIBPTHREAD_VERSION='"libpthread $(pthread-version)"' +endif -- cgit v1.2.3