From 24b10a76fd1f89ad9c0623fe4b19f2557c6dc656 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Sun, 30 Sep 2012 23:44:24 +0200 Subject: [PATCH 2/2] 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 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 -- 1.7.10.4