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 If we did not include a specifi...
details: https://anonhg.NetBSD.org/src/rev/0529105d3980
branches: trunk
changeset: 783139:0529105d3980
user: christos <christos%NetBSD.org@localhost>
date: Fri Dec 07 15:38:04 2012 +0000
description:
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?
diffstat:
external/gpl3/gcc/lib/libgcc/Makefile.inc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ee00f614049a -r 0529105d3980 external/gpl3/gcc/lib/libgcc/Makefile.inc
--- a/external/gpl3/gcc/lib/libgcc/Makefile.inc Fri Dec 07 15:29:38 2012 +0000
+++ b/external/gpl3/gcc/lib/libgcc/Makefile.inc Fri Dec 07 15:38:04 2012 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index