aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-09-08 23:48:58 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2003-09-08 23:48:58 +0000
commit3d81ccc6185f1006ae7c86d0b596bb19c0edf0a8 (patch)
tree1a4f8f570454bfb1e11f31af57ab089328bffa44
parentfae111c115aa3600318caec13070c3166d28fb11 (diff)
downloadgcc-3d81ccc6185f1006ae7c86d0b596bb19c0edf0a8.zip
gcc-3d81ccc6185f1006ae7c86d0b596bb19c0edf0a8.tar.gz
gcc-3d81ccc6185f1006ae7c86d0b596bb19c0edf0a8.tar.bz2
mklibgcc.in (libcc.a): Depend on stmp-dirs.
* mklibgcc.in (libcc.a): Depend on stmp-dirs. (libgov.a): Likewise. (libgcc_eh.a): Likewise. From-SVN: r71217
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/mklibgcc.in12
2 files changed, 15 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1c82681..166ce7f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-08 Mark Mitchell <mark@codesourcery.com>
+
+ * mklibgcc.in (libcc.a): Depend on stmp-dirs.
+ (libgov.a): Likewise.
+ (libgcc_eh.a): Likewise.
+
2003-09-08 Roger Sayle <roger@eyesopen.com>
* fold-const.c (operand_equal_p): Clarify documentation.
diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in
index c2eea1a..ff29f75 100644
--- a/gcc/mklibgcc.in
+++ b/gcc/mklibgcc.in
@@ -352,14 +352,20 @@ EOF
done
fi
+ # Each of these .a files depends on stmp-dirs. It would seem that
+ # this dependency is redundant, since each of the object files
+ # itself depends on stmp-dirs. However, it is possible that there
+ # are in fact no object files. In that case, the stmp-dirs
+ # dependency is required; the directory containing the archive must
+ # exist before the archive itself can be created.
echo ""
- echo "${dir}/libgcc.a: $libgcc_a_objs"
+ echo "${dir}/libgcc.a: stmp-dirs $libgcc_a_objs"
echo " -rm -rf ${dir}/libgcc.a"
echo ' $(AR_CREATE_FOR_TARGET)' ${dir}/libgcc.a $libgcc_a_objs
echo ' $(RANLIB_FOR_TARGET)' ${dir}/libgcc.a
echo ""
- echo "${dir}/libgcov.a: $libgcov_a_objs"
+ echo "${dir}/libgcov.a: stmp-dirs $libgcov_a_objs"
echo " -rm -rf ${dir}/libgcov.a"
echo ' $(AR_CREATE_FOR_TARGET)' ${dir}/libgcov.a $libgcov_a_objs
echo ' $(RANLIB_FOR_TARGET)' ${dir}/libgcov.a
@@ -367,7 +373,7 @@ EOF
if [ "$SHLIB_LINK" ]; then
echo ""
- echo "${dir}/libgcc_eh.a: $libgcc_eh_objs"
+ echo "${dir}/libgcc_eh.a: stmp-dirs $libgcc_eh_objs"
echo " -rm -rf ${dir}/libgcc_eh.a"
echo ' $(AR_CREATE_FOR_TARGET)' ${dir}/libgcc_eh.a $libgcc_eh_objs
echo ' $(RANLIB_FOR_TARGET)' ${dir}/libgcc_eh.a