aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/pthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/pthread/Makefile')
-rw-r--r--linuxthreads/sysdeps/pthread/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/pthread/Makefile b/linuxthreads/sysdeps/pthread/Makefile
index a0d3315235..6b92fbf47f 100644
--- a/linuxthreads/sysdeps/pthread/Makefile
+++ b/linuxthreads/sysdeps/pthread/Makefile
@@ -7,3 +7,7 @@ else
$(objpfx)tst-timer: $(objpfx)librt.a $(static-thread-library)
endif
endif
+
+ifeq ($(subdir),posix)
+CFLAGS-confstr.c += -DLIBPTHREAD_VERSION="\"$(shell sed 's/\(.*\) by .*/\1/' ../nptl/Banner)\""
+endif