2002-09-25 Roland McGrath <roland@redhat.com>
authorroland <roland>
Wed, 25 Sep 2002 07:19:28 +0000 (07:19 +0000)
committerroland <roland>
Wed, 25 Sep 2002 07:19:28 +0000 (07:19 +0000)
* Makeconfig (%.v.i pattern rule): Use $(CPPFLAGS).

Makeconfig

index 9216b4c..75dcf38 100644 (file)
@@ -737,8 +737,7 @@ ifeq (yes, $(build-shared))
 # (but no commands).
 %.v.i: $(common-objpfx)config.h
        sed '/^[        ]*#/d;s/^[      ]*%/#/' $(filter-out FORCE %.h,$^) \
-       | $(CC) -E -undef -I$(common-objdir) -I$(..)include \
-                  -include $(common-objpfx)config.h \
+       | $(CC) -E -undef $(CPPFLAGS) \
                   -DASSEMBLER -x assembler-with-cpp - \
                   > $@T
        mv -f $@T $@