Module Name: src
Committed By: christos
Date: Fri Dec 7 15:38:04 UTC 2012
Modified Files:
src/external/gpl3/gcc/lib/libgcc: Makefile.inc
Log Message:
If we did not include a specific arch file G_UNWIND_H will not be defined.
Perhaps it is better to error out in that case?
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 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.15 src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.16
--- src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.15 Tue Aug 28 23:12:08 2012
+++ src/external/gpl3/gcc/lib/libgcc/Makefile.inc Fri Dec 7 10:38:04 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.15 2012/08/29 03:12:08 msaitoh Exp $
+# $NetBSD: Makefile.inc,v 1.16 2012/12/07 15:38:04 christos Exp $
.if ${MKGCC} != "no"
.if exists(${.CURDIR}/../arch/${MACHINE_ARCH}.mk)
@@ -143,7 +143,7 @@ dp-bit.c: ${.CURDIR}/Makefile
.include "../Makefile.tconfigh"
DPSRCS+= tconfig.h
-.if ${MKGCC} != "no"
+.if ${MKGCC} != "no" && defined(G_UNWIND_H) && !empty(G_UNWIND_H)
# XXX figure out why Makefile.hacks doesn't work
BUILDSYMLINKS+= ${G_UNWIND_H} unwind.h
DPSRCS+= unwind.h