Prevent fixing the includes.

Forcibly prevent fixinclude from executing. This prevents the spawning of a
shell process, which would be abandoned due to fixinc crashing.

Submitted By: BLFS Book <blfs-book@linuxfromscratch.org>
Date: 2003-10-05
Initial Package Version: 2.95.3
Origin: BLFS Book
http://www.linuxfromscratch.org/blfs/view/5.1/general/gcc2.html
(cherry picked from commit ef37057d92)
This commit is contained in:
Matt Madia 2011-11-16 18:01:03 -05:00 committed by Oliver Tappe
parent 1fea500c21
commit fdc4d2f79b

View File

@ -2121,8 +2121,8 @@ stmp-int-hdrs: stmp-fixinc $(USER_H) xlimits.h
else :; fi
# Install the README
rm -f include/README
cp $(srcdir)/README-fixinc include/README
chmod a+r include/README
#cp $(srcdir)/README-fixinc include/README
#chmod a+r include/README
touch $@
# Now that float.h no longer depends upon enquire, this is actually a no-op.
@ -2164,7 +2164,7 @@ stmp-fixinc: fixinc.sh gsyslimits.h
TARGET_MACHINE=$(target); srcdir=`cd $(srcdir); pwd`; \
INSTALL_ASSERT_H=$(INSTALL_ASSERT_H); SHELL=$(SHELL) ;\
export TARGET_MACHINE srcdir INSTALL_ASSERT_H SHELL ; \
$(SHELL) ./fixinc.sh `pwd`/include $(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS)
#$(SHELL) ./fixinc.sh `pwd`/include $(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS)
rm -f include/syslimits.h
if [ -f include/limits.h ]; then \
mv include/limits.h include/syslimits.h; \