Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/usr.bin/backend gengtype also needs sysroo...



details:   https://anonhg.NetBSD.org/src/rev/fbe9afd0f803
branches:  trunk
changeset: 766832:fbe9afd0f803
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jul 03 06:42:03 2011 +0000

description:
gengtype also needs sysroot-suffix.h if present

diffstat:

 external/gpl3/gcc/usr.bin/backend/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 33bc28c1996e -r fbe9afd0f803 external/gpl3/gcc/usr.bin/backend/Makefile
--- a/external/gpl3/gcc/usr.bin/backend/Makefile        Sun Jul 03 06:40:38 2011 +0000
+++ b/external/gpl3/gcc/usr.bin/backend/Makefile        Sun Jul 03 06:42:03 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2011/07/01 01:29:12 mrg Exp $
+#      $NetBSD: Makefile,v 1.8 2011/07/03 06:42:03 mrg Exp $
 
 LIBISPRIVATE=  yes
 
@@ -106,6 +106,9 @@
        ${_MKTARGET_CREATE}
        rm -f auto-host.h
        ln -s ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/auto-host.h .
+       if [ -f ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/sysroot-suffix.h ]; then \
+         ln -s ${.CURDIR}/../gcc/arch/${MACHINE_ARCH}/sysroot-suffix.h ; \
+       fi
        ./gengtype ${DIST}/gcc gtyp-input.list.tmp
 # gengtype is the real need for options.h
 gengtype.lo gengtype-lex.lo gengtype-parse.lo: ${HH} gtyp-gen.h config.h options.h



Home | Main Index | Thread Index | Old Index