* Makeconfig (CPPFLAGS): Fix last change to use $(libof-$(<F))
authorRoland McGrath <roland@gnu.org>
Thu, 17 Oct 2002 09:16:52 +0000 (09:16 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 17 Oct 2002 09:16:52 +0000 (09:16 +0000)
instead of $(libof-$<).

ChangeLog
Makeconfig

index 603482d..8078d0e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-17  Roland McGrath  <roland@redhat.com>
+
+       * Makeconfig (CPPFLAGS): Fix last change to use $(libof-$(<F))
+       instead of $(libof-$<).
+
 2002-10-16  Roland McGrath  <roland@redhat.com>
 
        * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed.
index b6a1b4a..3ee4ece 100644 (file)
@@ -633,8 +633,8 @@ libio-include = -I$(..)libio
 CPPFLAGS = $($(subdir)-CPPFLAGS) $(+includes) $(defines) \
           -include $(..)include/libc-symbols.h $(sysdep-CPPFLAGS) \
           $(CPPFLAGS-$(suffix $@)) \
-          $(foreach L,$(libof-$(basename $(@F))) $(libof-$<) $(libof-$(@F)),\
-                    $(CPPFLAGS-$L)) \
+          $(foreach lib,$(libof-$(basename $(@F))) \
+                        $(libof-$(<F)) $(libof-$(@F)),$(CPPFLAGS-$(lib))) \
           $(CPPFLAGS-$(<F)) $(CPPFLAGS-$(@F)) $(CPPFLAGS-$(basename $(@F)))
 override CFLAGS        = -std=gnu99 \
                  $(filter-out %frame-pointer,$(+cflags)) $(sysdep-CFLAGS) \