aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>1993-09-16 16:07:00 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>1993-09-16 16:07:00 +0000
commitfefc83ce1c3e63af0807a98490779d599c408f39 (patch)
tree5d35c75d11444a17c6e4ab805d63428b4bdb0159
parenta0bc09336a4bf3ff7ad08e0ba1e7bd6e12c799d6 (diff)
downloadgcc-fefc83ce1c3e63af0807a98490779d599c408f39.zip
gcc-fefc83ce1c3e63af0807a98490779d599c408f39.tar.gz
gcc-fefc83ce1c3e63af0807a98490779d599c408f39.tar.bz2
Don't refix include files when xgcc is rebuilt
From-SVN: r5341
-rw-r--r--gcc/Makefile.in15
1 files changed, 13 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 46d777b..9369491 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1390,8 +1390,19 @@ stmp-headers: stmp-int-hdrs gfloat.h
chmod a+r include/float.h
touch stmp-headers
+# Running fixincludes requires making sure that xgcc and cpp have been
+# compiled (they are used to get the value of __SIZE_TYPE__).
+# But recompiling xgcc should not force the the header files to be
+# fixed again. If you want to do that, delete stmp-fixinc.
+fixinc.ready: xgcc cpp
+ -if [ -f fixinc.ready ] ; then \
+ true; \
+ else \
+ touch fixinc.ready; \
+ fi
+
# Build fixed copies of system files.
-stmp-fixinc: $(srcdir)/$(FIXINCLUDES) gsyslimits.h xgcc cpp
+stmp-fixinc: $(srcdir)/$(FIXINCLUDES) gsyslimits.h fixinc.ready
rm -rf include
mkdir include
if [ x$(FIXINCLUDES) != xMakefile.in ]; \
@@ -1542,7 +1553,7 @@ clean: mostlyclean
-rm -f libgcc.a libgcc1.a libgcc2.a libgcc2.ready libgcc1.null
-rm -f *.dvi
# Delete the include directory.
- -rm -rf stmp-* include objc-headers
+ -rm -rf stmp-* fixinc.ready include objc-headers
# Delete all files that users would normally create
# while building and installing GCC.