(preprocess-version): Replace -traditional with -x assembler-with-cpp.

This commit is contained in:
Ulrich Drepper 2001-01-07 00:37:33 +00:00
parent 4c587216c9
commit 411dccadb4

View File

@ -702,9 +702,9 @@ ifeq (yes, $(build-shared))
# %ifdef et al based on config.h settings or other %include'd files.
define preprocess-versions
sed '/^[ ]*#/d;s/^[ ]*%/#/' \
| $(CC) -traditional -E -undef -I$(common-objdir) -I$(..)include \
| $(CC) -E -undef -I$(common-objdir) -I$(..)include \
-include $(common-objpfx)config.h \
-x c - \
-x assembler-with-cpp - \
| sed '/^[ ]*#/d;/^[ ]*$$/d'
endef