Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/compiler_rt Explicitly enumerate platforms that hav...



details:   https://anonhg.NetBSD.org/src/rev/c50671a3e620
branches:  trunk
changeset: 326073:c50671a3e620
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Jan 17 14:03:31 2014 +0000

description:
Explicitly enumerate platforms that have unwind support to make
piecewise migration easier.

diffstat:

 lib/libc/compiler_rt/Makefile.inc |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 42caa7057667 -r c50671a3e620 lib/libc/compiler_rt/Makefile.inc
--- a/lib/libc/compiler_rt/Makefile.inc Fri Jan 17 12:39:47 2014 +0000
+++ b/lib/libc/compiler_rt/Makefile.inc Fri Jan 17 14:03:31 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.5 2014/01/16 23:05:51 matt Exp $
+# $NetBSD: Makefile.inc,v 1.6 2014/01/17 14:03:31 joerg Exp $
 
 COMPILER_RT_SRCDIR=    ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist
 
@@ -28,10 +28,11 @@
 GENERIC_SRCS+= atomic.c
 .endif
 
-.if ${HAVE_LIBGCC} == "no"
+.if ${LIBC_MACHINE_ARCH} == "i386" || ${LIBC_MACHINE_ARCH} == "amd64"
 # Requires unwind support
 GENERIC_SRCS+= \
        gcc_personality_v0.c
+.endif
 
 # Conflicts with soft-float
 GENERIC_SRCS+= \



Home | Main Index | Thread Index | Old Index