aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-20 00:40:12 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-20 00:40:12 +0000
commit60289c2381ba2d5555d40bb1e1885f7773f48808 (patch)
treefbcce0066cd909d4ed2fb3d406d0e328aeb9a15a /Makeconfig
parent7d2d622a4e5892fc75beecbd68246ce54abc2f31 (diff)
downloadglibc-60289c2381ba2d5555d40bb1e1885f7773f48808.tar
glibc-60289c2381ba2d5555d40bb1e1885f7773f48808.tar.gz
glibc-60289c2381ba2d5555d40bb1e1885f7773f48808.tar.bz2
glibc-60289c2381ba2d5555d40bb1e1885f7773f48808.zip
(preprocess-version): Add -traditional to gcc call. Cleanup sed calls.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makeconfig b/Makeconfig
index 40f3a10674..0fe28245aa 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -701,11 +701,11 @@ ifeq (yes, $(build-shared))
# Commands to put in a pipeline to preprocess a file with # comments
# %ifdef et al based on config.h settings or other %include'd files.
define preprocess-versions
-sed 's/#.*$$//;s/^[ ]*%/#/' \
-| $(CC) -E -undef -I$(common-objdir) -I$(..)include \
+sed '/^[ ]*#/d;s/^[ ]*%/#/' \
+| $(CC) -traditional -E -undef -I$(common-objdir) -I$(..)include \
-include $(common-objpfx)config.h \
-x c - \
-| sed 's/#.*$$//;/^[ ]*$$/d'
+| sed '/^[ ]*#/d;/^[ ]*$$/d'
endef
# Process the shlib-versions file, which tells us what shared library