Module Name:    src
Committed By:   mrg
Date:           Tue Jun 28 03:58:55 UTC 2011

Modified Files:
        src/tools/gcc: mknative-gcc

Log Message:
some more updates for GCC 4.5.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 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/mknative-gcc
diff -u src/tools/gcc/mknative-gcc:1.48 src/tools/gcc/mknative-gcc:1.49
--- src/tools/gcc/mknative-gcc:1.48	Thu Jun 23 12:06:32 2011
+++ src/tools/gcc/mknative-gcc	Tue Jun 28 03:58:55 2011
@@ -1,5 +1,5 @@
 #!/bin/sh
-#	$NetBSD: mknative-gcc,v 1.48 2011/06/23 12:06:32 mrg Exp $
+#	$NetBSD: mknative-gcc,v 1.49 2011/06/28 03:58:55 mrg Exp $
 #
 # Shell script for generating all the constants needed for a native
 # platform build of src/gnu/dist/gcc.
@@ -483,12 +483,12 @@
 
 	write_c $_OUTDIRBASE/lib/$_subdir/arch/$MACHINE_ARCH/config.h \
 		<$_TMPDIR/$_PLATFORM/libstdc++-v3/config.h
+	write_c $_OUTDIRBASE/lib/$_subdir/arch/$MACHINE_ARCH/gstdint.h \
+		<$_TMPDIR/$_PLATFORM/libstdc++-v3/include/gstdint.h
+	write_c $_OUTDIRBASE/lib/$_subdir/arch/$MACHINE_ARCH/omp.h \
+		<$_TMPDIR/$_PLATFORM/libgomp/omp.h
 
 	{
-		# libmath
-		getvars $_PLATFORM/libstdc++-v3/libmath/Makefile \
-			libmath_la_SOURCES libmath_la_LIBADD
-
 		# libsupc++
 		getvars $_PLATFORM/libstdc++-v3/libsupc++/Makefile \
 			sources | sed 's/^G_sources=/G_LIBSUPCXX_SOURCES=/'
@@ -501,7 +501,7 @@
 
 		# include
 		getvars $_PLATFORM/libstdc++-v3/include/Makefile \
-			c_base_headers_rename std_headers_rename
+			c_base_headers std_headers | sed -e 's#/[^ 	][^ 	]*/##g' -e 's/\${GNUHOSTDIST}//g'
 		getvars $_PLATFORM/libstdc++-v3/include/Makefile \
 			bits_headers backward_headers ext_headers c_base_headers_extra \
 			$_headers1 | sed -e 's#/[^ 	][^ 	]*/##g' -e 's/\${GNUHOSTDIST}//g'

Reply via email to