we need config.h an another version of gthr-default.h
This commit is contained in:
parent
1494428e04
commit
e222fd4230
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.3 2003/07/29 06:48:14 mrg Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2003/08/01 02:44:55 mrg Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
|
@ -7,6 +7,8 @@ MODULE= gcc
|
|||
FIND_ARGS= \! \( -type d -name sim -prune \)
|
||||
|
||||
CONFIGURE_ARGS= --target=${MACHINE_GNU_PLATFORM} --disable-nls \
|
||||
--disable-multilib \
|
||||
--enable-threads \
|
||||
--program-transform-name="s,^,${MACHINE_GNU_PLATFORM}-," \
|
||||
--enable-languages="c c++ objc f77"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
# $NetBSD: mknative-gcc,v 1.5 2003/07/30 05:10:06 mrg Exp $
|
||||
# $NetBSD: mknative-gcc,v 1.6 2003/08/01 02:44:56 mrg Exp $
|
||||
#
|
||||
# Shell script for generating all the constants needed for a native
|
||||
# platform build of src/gnu/dist/toolchain.
|
||||
|
@ -131,6 +131,9 @@ get_libstdcxx_v3 () {
|
|||
<$_TMPDIR/$_PLATFORM/libstdc++-v3/include/$_PLATFORM/bits/$h
|
||||
done
|
||||
|
||||
write_c gnu/lib/libstdc++-v3/arch/$MACHINE_ARCH/config.h \
|
||||
<$_TMPDIR/$_PLATFORM/libstdc++-v3/config.h
|
||||
|
||||
{
|
||||
# libmath
|
||||
getvars $_PLATFORM/libstdc++-v3/libmath/Makefile \
|
||||
|
@ -183,7 +186,7 @@ get_gcc () {
|
|||
F77_OBJS | sed 's/f\///g'
|
||||
} | write_mk gnu/usr.bin/gcc3/arch/$MACHINE_ARCH/defs.mk
|
||||
|
||||
for f in auto-build auto-host configargs cs-hconfig gencheck hconfig; do
|
||||
for f in auto-build auto-host configargs cs-hconfig gencheck hconfig gthr-default; do
|
||||
write_c gnu/usr.bin/gcc3/arch/$MACHINE_ARCH/$f.h <$_TMPDIR/gcc/$f.h
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue