mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
(preprocess-version): Replace -traditional with -x assembler-with-cpp.
This commit is contained in:
parent
4c587216c9
commit
411dccadb4
@ -702,9 +702,9 @@ ifeq (yes, $(build-shared))
|
|||||||
# %ifdef et al based on config.h settings or other %include'd files.
|
# %ifdef et al based on config.h settings or other %include'd files.
|
||||||
define preprocess-versions
|
define preprocess-versions
|
||||||
sed '/^[ ]*#/d;s/^[ ]*%/#/' \
|
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 \
|
-include $(common-objpfx)config.h \
|
||||||
-x c - \
|
-x assembler-with-cpp - \
|
||||||
| sed '/^[ ]*#/d;/^[ ]*$$/d'
|
| sed '/^[ ]*#/d;/^[ ]*$$/d'
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user