summary refs log tree commit diff
path: root/inet/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'inet/Makefile')
-rw-r--r--inet/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/inet/Makefile b/inet/Makefile
index 4aa76bd2d3..d1b984a4f5 100644
--- a/inet/Makefile
+++ b/inet/Makefile
@@ -54,3 +54,11 @@ CFLAGS-rexec.c = -w
 CFLAGS-ruserpass.c = -w
 
 include ../Rules
+
+ifeq ($(have-thread-library),yes)
+
+CFLAGS-gethstbyad_r.c = -DUSE_NSCD=1
+CFLAGS-gethstbynm_r.c = -DUSE_NSCD=1
+CFLAGS-gethstbynm2_r.c = -DUSE_NSCD=1
+
+endif