diff options
| author | joerg <joerg@NetBSD.org> | 2014-01-18 01:08:56 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2014-01-18 01:08:56 +0000 |
| commit | 735edc45bc8a806d71fbd57dec790e39dbfbbc93 (patch) | |
| tree | c3d3bbe3d7b9e23909da906d7fffc9069bd6667b /lib/libc/compiler_rt | |
| parent | d0711b69b0674cd6fcb544d7a79a72e8d607fb0d (diff) | |
Use a separate variable for the use of GCC's unwind code.
Diffstat (limited to 'lib/libc/compiler_rt')
| -rw-r--r-- | lib/libc/compiler_rt/Makefile.inc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/compiler_rt/Makefile.inc b/lib/libc/compiler_rt/Makefile.inc index 69d63a8876e..888e1e37a45 100644 --- a/lib/libc/compiler_rt/Makefile.inc +++ b/lib/libc/compiler_rt/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.9 2014/01/17 14:08:59 joerg Exp $ +# $NetBSD: Makefile.inc,v 1.10 2014/01/18 01:08:56 joerg Exp $ COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist @@ -28,8 +28,7 @@ COMPILER_RT_ARCH_DIR= ${COMPILER_RT_SRCDIR}/lib/${MACHINE_ARCH} GENERIC_SRCS+= atomic.c .endif -.if ${LIBC_MACHINE_ARCH} == "i386" || ${LIBC_MACHINE_ARCH} == "amd64" -# Requires unwind support +.if ${HAVE_LIBGCC_EH} == "no" GENERIC_SRCS+= \ gcc_personality_v0.c .endif |
