From: Richard Stallman Date: Sun, 21 Nov 1993 06:01:04 +0000 (+0000) Subject: (stmp-fixproto): Never run fixproto twice. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=700ba19c9c6ebb003db28af327628ff6340de438;p=gcc.git (stmp-fixproto): Never run fixproto twice. From-SVN: r6125 --- diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 115eba9a60e..09762abc119 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1614,10 +1614,16 @@ fixhdr.ready: fix-header fi # stmp-headers is to make sure fixincludes has already finished. +# The if statement is so that we don't run fixproto a second time +# if it has already been run on the files in `include'. stmp-fixproto: fixhdr.ready fixproto stmp-headers @echo "Various warnings and error messages from fixproto are normal" - CPP="$(GCC_FOR_TARGET) -E"; export CPP; \ - ${srcdir}/fixproto include include $(SYSTEM_HEADER_DIR) + if [ -f include/fixed ] ; then true; \ + else \ + CPP="$(GCC_FOR_TARGET) -E"; export CPP; \ + ${srcdir}/fixproto include include $(SYSTEM_HEADER_DIR); \ + touch include/fixed; \ + fi touch stmp-fixproto # Remake the info files.