Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-2-0]: src/gnu/usr.bin/gcc3/host-libiberty Pull up revision 1.5 (r...



details:   https://anonhg.NetBSD.org/src/rev/f0d5b29f7f5d
branches:  netbsd-2-0
changeset: 561376:f0d5b29f7f5d
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Jun 14 18:20:23 2004 +0000

description:
Pull up revision 1.5 (requested by jmc in ticket #474):
Redo this rule so it depends on libiberty.a rather than just the directory.
Otherwise an aborted build would cause this to be skipped on MKUPDATE.
Also, run configure w. $HOST_SH as highlighted in PR#25606

diffstat:

 gnu/usr.bin/gcc3/host-libiberty/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (21 lines):

diff -r 21e951747eac -r f0d5b29f7f5d gnu/usr.bin/gcc3/host-libiberty/Makefile
--- a/gnu/usr.bin/gcc3/host-libiberty/Makefile  Mon Jun 14 18:19:40 2004 +0000
+++ b/gnu/usr.bin/gcc3/host-libiberty/Makefile  Mon Jun 14 18:20:23 2004 +0000
@@ -1,12 +1,12 @@
-#      $NetBSD: Makefile,v 1.4 2003/10/21 10:01:20 lukem Exp $
+#      $NetBSD: Makefile,v 1.4.2.1 2004/06/14 18:20:23 tron Exp $
 
-libiberty:
-       mkdir libiberty
-       (cd libiberty; env CC=${HOST_CC:Q} ${DIST}/libiberty/configure && env CC=${HOST_CC:Q} ${MAKE})
+libiberty/libiberty.a:
+       [ ! -d libiberty ] && mkdir libiberty || exit 0
+       (cd libiberty; env CC=${HOST_CC:Q} ${HOST_SH} ${DIST}/libiberty/configure && env CC=${HOST_CC:Q} ${MAKE})
 
 cleandir:
        rm -rf libiberty
 
-depend dependall all: libiberty
+depend dependall all: libiberty/libiberty.a
        
 .include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index