about summary refs log tree commit diff
path: root/hurd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/Makefile')
-rw-r--r--hurd/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/hurd/Makefile b/hurd/Makefile
index 3eeb445ca7..250e441acf 100644
--- a/hurd/Makefile
+++ b/hurd/Makefile
@@ -66,6 +66,13 @@ distribute = hurdstartup.h hurdfault.h hurdhost.h \
 # XXX this is a temporary hack; see hurdmalloc.h
 routines += hurdmalloc
 distribute += hurdmalloc.h
+
+# Binary compatibility for libc.so.0.2[GLIBC_2.0].
+ifeq ($(versioning),yes)
+routines += compat-20
+endif
+
+shared-only-routines = compat-20
 
 include ../mach/Machrules
 include ../Rules