Module Name: src
Committed By: skrll
Date: Tue Jan 10 12:27:54 UTC 2012
Modified Files:
src/tools/gcc: Makefile mknative-gcc
Log Message:
Fix bootstrap-libgcc for gcc 4.5
To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/tools/gcc/Makefile
cvs rdiff -u -r1.65 -r1.66 src/tools/gcc/mknative-gcc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/gcc/Makefile
diff -u src/tools/gcc/Makefile:1.49 src/tools/gcc/Makefile:1.50
--- src/tools/gcc/Makefile:1.49 Tue Jan 10 12:26:45 2012
+++ src/tools/gcc/Makefile Tue Jan 10 12:27:54 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2012/01/10 12:26:45 skrll Exp $
+# $NetBSD: Makefile,v 1.50 2012/01/10 12:27:54 skrll Exp $
.include <bsd.own.mk>
@@ -117,7 +117,7 @@ MKNATIVE?= ${.CURDIR}/mknative-gcc
bootstrap-libgcc: .configure_done
@echo 'Creating files needed for libgcc by a native bootstrap build.'
- @MAKE=${BUILD_MAKE:Q} ${HOST_SH} ${MKNATIVE} lib${MODULE} \
+ @MAKE=${BUILD_MAKE:Q} ${HOST_SH} ${MKNATIVE} lib${MKNATIVE_TARGET} \
${.OBJDIR}/build ${NEWCONFIGDIR} ${MACHINE_GNU_PLATFORM} \
${DESTDIR}
Index: src/tools/gcc/mknative-gcc
diff -u src/tools/gcc/mknative-gcc:1.65 src/tools/gcc/mknative-gcc:1.66
--- src/tools/gcc/mknative-gcc:1.65 Thu Oct 13 19:52:33 2011
+++ src/tools/gcc/mknative-gcc Tue Jan 10 12:27:54 2012
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mknative-gcc,v 1.65 2011/10/13 19:52:33 matt Exp $
+# $NetBSD: mknative-gcc,v 1.66 2012/01/10 12:27:54 skrll Exp $
#
# Shell script for generating all the constants needed for a native
# platform build of src/gnu/dist/gcc.
@@ -691,6 +691,15 @@ libgcc4)
exit 0
;;
+libgcc45)
+ _OUTDIR="$_TOP/external/gpl3/gcc"
+ _OUTDIRBASE="external/gpl3/gcc"
+ get_libgcc gcc
+ get_crtstuff crtstuff
+ get_libgcov gcc
+ exit 0
+ ;;
+
# gcc files
gcc4)
get_gcc gcc4