aboutsummaryrefslogtreecommitdiff
path: root/grp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'grp/Makefile')
-rw-r--r--grp/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/grp/Makefile b/grp/Makefile
index 0d13495bd8..282aeb706a 100644
--- a/grp/Makefile
+++ b/grp/Makefile
@@ -30,8 +30,7 @@ tests := testgrp
include ../Rules
-# We can later add the names of other thread packages here.
-ifneq (,$(findstring linuxthreads,$(add-ons)))
+ifeq ($(have-thread-library),yes)
CFLAGS-getgrgid_r.c = -DUSE_NSCD=1
CFLAGS-getgrnam_r.c = -DUSE_NSCD=1