summary refs log tree commit diff
path: root/Makeconfig
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-04-03 18:01:18 +0000
committerRoland McGrath <roland@gnu.org>2000-04-03 18:01:18 +0000
commitca5becb0c5fcd04d427eeb88840129d9e5859015 (patch)
treeaeaf260590635a656e29e02b473bc133baa92b16 /Makeconfig
parentc6d80202830057548b130381c214ddb383fccd5d (diff)
downloadglibc-ca5becb0c5fcd04d427eeb88840129d9e5859015.tar.gz
glibc-ca5becb0c5fcd04d427eeb88840129d9e5859015.tar.xz
glibc-ca5becb0c5fcd04d427eeb88840129d9e5859015.zip
* Makeconfig (preprocess-versions): Undo last change.
	Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig
index 8ae477aa19..8a7f94849b 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -674,7 +674,9 @@ ifeq (yes, $(build-shared))
 # %ifdef et al based on config.h settings or other %include'd files.
 define preprocess-versions
 sed 's/#.*$$//;s/^[ 	]*%/#/' \
-| $(CC) -E -undef -include $(common-objpfx)config.h -x c - \
+| $(CC) -E -undef -I$(common-objdir) -I$(..)include \
+		  -include $(common-objpfx)config.h \
+		  -x c - \
 | sed 's/#.*$$//;/^[ 	]*$$/d'
 endef