⛏️ index : buildtools.git

author Matt Madia <mattmadia@gmail.com> 2011-11-16 18:01:03.0 -05:00:00
committer Matt Madia <mattmadia@gmail.com> 2011-11-16 18:01:03.0 -05:00:00
commit
ef37057d9257610d5be27de553af21f6ef926fa7 [patch]
tree
128d84dfe52588987598152a071767076f85775c
parent
41126db37908302ef537f4024211d8c3125b5bc8
download
ef37057d9257610d5be27de553af21f6ef926fa7.tar.gz

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

Diff

 legacy/gcc/gcc/Makefile.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/legacy/gcc/gcc/Makefile.in b/legacy/gcc/gcc/Makefile.in
index 8e36fe1..a83fb89 100644
--- a/legacy/gcc/gcc/Makefile.in
+++ b/legacy/gcc/gcc/Makefile.in
@@ -2121,8 +2121,8 @@
	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 @@
	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; \