From 0d35c2426d7a2682631da0433299e1c912f0ccfa Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 11 Sep 2002 22:04:32 +0000 Subject: * sysdeps/generic/dl-environ.c (unsetenv): Rewritten using strncmp, no longer wrongly matches arbitrary prefixes of NAME. Reported by Jakub Jelinek . 2002-09-11 Jakub Jelinek * posix/bug-regex11.c (tests): New array. (main): Rewritten to run more different tests. * nscd/Makefile (CPPFLAGS-nscd, CPPFLAGS-nscd_conf, CPPFLAGS-dbg_log) (CPPFLAGS-connections, CPPFLAGS-hstcache): Variables removed. Instead, catch all of $(nscd-modules) via cppflags-iterator.mk. --- nscd/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'nscd') diff --git a/nscd/Makefile b/nscd/Makefile index 434cf4d..0bd320e 100644 --- a/nscd/Makefile +++ b/nscd/Makefile @@ -53,11 +53,10 @@ distribute := nscd.h nscd-client.h dbg_log.h \ include ../Rules -CPPFLAGS-nscd = -DNOT_IN_libc -CPPFLAGS-nscd_conf = -DNOT_IN_libc -CPPFLAGS-dbg_log = -DNOT_IN_libc -CPPFLAGS-connections = -DNOT_IN_libc -CPPFLAGS-hstcache = -DNOT_IN_libc +# This makes sure -DNOT_IN_libc is passed for all these modules. +cpp-srcs-left := $(nscd-modules:=.c) +lib := nscd +include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left)) $(objpfx)nscd: $(nscd-modules:%=$(objpfx)%.o) $(objpfx)nscd_nischeck: $(objpfx)nscd_nischeck.o -- cgit v1.1