Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/lib/libgcc Don't add unwind.h stuff into B...



details:   https://anonhg.NetBSD.org/src/rev/426581b91874
branches:  trunk
changeset: 781232:426581b91874
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Aug 29 03:12:08 2012 +0000

description:
Don't add unwind.h stuff into BUILDSYMLINKS when MKGCC=="no".
Fixes "Wrong number of words (1) in .for substitution list with 2 vars" problem
while mknative-ing. Approved by mrg.

diffstat:

 external/gpl3/gcc/lib/libgcc/Makefile.inc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 254144811eaf -r 426581b91874 external/gpl3/gcc/lib/libgcc/Makefile.inc
--- a/external/gpl3/gcc/lib/libgcc/Makefile.inc Wed Aug 29 02:44:07 2012 +0000
+++ b/external/gpl3/gcc/lib/libgcc/Makefile.inc Wed Aug 29 03:12:08 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.14 2012/08/06 00:19:03 matt Exp $
+#      $NetBSD: Makefile.inc,v 1.15 2012/08/29 03:12:08 msaitoh Exp $
 
 .if ${MKGCC} != "no"
 .if exists(${.CURDIR}/../arch/${MACHINE_ARCH}.mk)
@@ -143,9 +143,11 @@
 .include "../Makefile.tconfigh"
 DPSRCS+=       tconfig.h
 
+.if ${MKGCC} != "no"
 # XXX figure out why Makefile.hacks doesn't work
 BUILDSYMLINKS+=        ${G_UNWIND_H} unwind.h
 DPSRCS+=       unwind.h
+.endif
 
 # these aren't necessary but are #include'd
 FAKEHEADERS=options.h insn-flags.h insn-constants.h sysroot-suffix.h



Home | Main Index | Thread Index | Old Index