mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 09:43:32 +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.
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user