Module Name: src Committed By: joerg Date: Wed Mar 12 00:07:33 UTC 2014
Modified Files: src/share/mk: bsd.own.mk Log Message: More readable condition. To generate a diff of this commit: cvs rdiff -u -r1.784 -r1.785 src/share/mk/bsd.own.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/mk/bsd.own.mk diff -u src/share/mk/bsd.own.mk:1.784 src/share/mk/bsd.own.mk:1.785 --- src/share/mk/bsd.own.mk:1.784 Tue Mar 11 23:22:36 2014 +++ src/share/mk/bsd.own.mk Wed Mar 12 00:07:33 2014 @@ -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?= no 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