* Makeconfig (preprocess-versions): Undo last change.

Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
This commit is contained in:
Roland McGrath 2000-04-03 18:01:18 +00:00
parent c6d8020283
commit ca5becb0c5
2 changed files with 6 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2000-04-03 Roland McGrath <roland@baalperazim.frob.com>
* Makeconfig (preprocess-versions): Undo last change.
Instead, pass -I$(common-objdir) -I$(..)include instead of $(CPPFLAGS).
* sysdeps/mach/hurd/i386/init-first.c (init): Don't set __environ
here, before we might move the stack.
(posixland_init): Set __libc_argc, __libc_argc, and __environ here.

View File

@ -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