Source-Changes-HG archive

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

[src/trunk]: src/share/mk More readable condition.



details:   https://anonhg.NetBSD.org/src/rev/a3f9c5fa172c
branches:  trunk
changeset: 794327:a3f9c5fa172c
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Mar 12 00:07:33 2014 +0000

description:
More readable condition.

diffstat:

 share/mk/bsd.own.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r e024031b7f3f -r a3f9c5fa172c share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Wed Mar 12 00:01:12 2014 +0000
+++ b/share/mk/bsd.own.mk       Wed Mar 12 00:07:33 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.784 2014/03/11 23:22:36 christos Exp $
+#      $NetBSD: bsd.own.mk,v 1.785 2014/03/12 00:07:33 joerg Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -98,7 +98,9 @@
 HAVE_LIBGCC?=  yes
 .endif
 
-.if ${MKLLVM:Uno} == "yes" && (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
+_LIBC_UNWIND_SUPPORT.i386=     yes
+_LIBC_UNWIND_SUPPORT.x86_64=   yes
+.if ${MKLLVM:Uno} == "yes" && ${_LIBC_UNWIND_SUPPORT.${MACHINE_ARCH}:Uno} == yes
 HAVE_LIBGCC_EH?=       no
 .else
 HAVE_LIBGCC_EH?=       yes



Home | Main Index | Thread Index | Old Index