Module Name:    src
Committed By:   msaitoh
Date:           Wed Aug 29 03:12:08 UTC 2012

Modified Files:
        src/external/gpl3/gcc/lib/libgcc: Makefile.inc

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/gcc/lib/libgcc/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gcc/lib/libgcc/Makefile.inc
diff -u src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.14 src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.15
--- src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.14	Mon Aug  6 00:19:03 2012
+++ src/external/gpl3/gcc/lib/libgcc/Makefile.inc	Wed Aug 29 03:12:08 2012
@@ -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 @@ dp-bit.c: ${.CURDIR}/Makefile
 .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

Reply via email to