From 60289c2381ba2d5555d40bb1e1885f7773f48808 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 20 Dec 2000 00:40:12 +0000 Subject: (preprocess-version): Add -traditional to gcc call. Cleanup sed calls. --- Makeconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makeconfig') 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 -- cgit v1.2.3