summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makeconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makeconfig b/Makeconfig
index 9216b4c2a8..75dcf38e23 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -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 $@