Module Name:    src
Committed By:   joerg
Date:           Fri Jan 17 14:03:31 UTC 2014

Modified Files:
        src/lib/libc/compiler_rt: Makefile.inc

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


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/compiler_rt/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/lib/libc/compiler_rt/Makefile.inc
diff -u src/lib/libc/compiler_rt/Makefile.inc:1.5 src/lib/libc/compiler_rt/Makefile.inc:1.6
--- src/lib/libc/compiler_rt/Makefile.inc:1.5	Thu Jan 16 23:05:51 2014
+++ src/lib/libc/compiler_rt/Makefile.inc	Fri Jan 17 14:03:31 2014
@@ -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 @@ COMPILER_RT_ARCH_DIR=	${COMPILER_RT_SRCD
 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+= \

Reply via email to