(CPPFLAGS): Use $($(subdir)-CPPFLAGS) only once.
authordrepper <drepper>
Mon, 29 Jun 1998 10:54:25 +0000 (10:54 +0000)
committerdrepper <drepper>
Mon, 29 Jun 1998 10:54:25 +0000 (10:54 +0000)
Makeconfig

index 1ef0cc5..137e6c1 100644 (file)
@@ -566,8 +566,7 @@ libio-include = -I$(..)libio
 # These are the variables that the implicit compilation rules use.
 CPPFLAGS = $($(subdir)-CPPFLAGS) $(+includes) $(defines) \
           -include $(..)include/libc-symbols.h $(sysdep-CPPFLAGS) \
-          $($(subdir)-CPPFLAGS) $(CPPFLAGS-$(suffix $@)) $(CPPFLAGS-$(<F)) \
-          $(CPPFLAGS-$(@F))
+          $(CPPFLAGS-$(suffix $@)) $(CPPFLAGS-$(<F)) $(CPPFLAGS-$(@F))
 override CFLAGS        = $(filter-out %frame-pointer,$(+cflags)) $(sysdep-CFLAGS) \
                  $(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) $(CFLAGS-$(@F))