Source-Changes-HG archive

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

[src/trunk]: src/tools/gcc avoid creating an unused directory.



details:   https://anonhg.NetBSD.org/src/rev/a42246eed9bc
branches:  trunk
changeset: 766730:a42246eed9bc
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Jul 01 02:11:14 2011 +0000

description:
avoid creating an unused directory.

diffstat:

 tools/gcc/mknative-gcc |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 361b9cb684d0 -r a42246eed9bc tools/gcc/mknative-gcc
--- a/tools/gcc/mknative-gcc    Fri Jul 01 02:10:19 2011 +0000
+++ b/tools/gcc/mknative-gcc    Fri Jul 01 02:11:14 2011 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: mknative-gcc,v 1.56 2011/07/01 01:27:17 mrg Exp $
+#      $NetBSD: mknative-gcc,v 1.57 2011/07/01 02:11:14 mrg Exp $
 #
 # Shell script for generating all the constants needed for a native
 # platform build of src/gnu/dist/gcc.
@@ -529,7 +529,7 @@
 get_gcc () {
        _subdir="$1"
        mkdir -p $_OUTDIR/usr.bin/$_subdir/arch/$MACHINE_ARCH
-       mkdir -p $_OUTDIR/usr.bin/$_subdir/libcpp/arch/$MACHINE_ARCH
+       mkdir -p $_OUTDIR/usr.bin/libcpp/arch/$MACHINE_ARCH
        case ${_subdir} in
        gcc4)
                _buildname="BUILD_"
@@ -602,7 +602,6 @@
                hfiles='auto-host gencheck configargs gthr-default tm bconfig config multilib'
                ;;
        gcc)
-               mkdir -p $_OUTDIR/usr.bin/libcpp/arch/$MACHINE_ARCH
                write_c $_OUTDIRBASE/usr.bin/libcpp/arch/$MACHINE_ARCH/config.h <$_TMPDIR/libcpp/config.h
                hfiles='auto-host configargs gthr-default tm bconfig config multilib bversion plugin-version'
                ;;



Home | Main Index | Thread Index | Old Index