Source-Changes-HG archive

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

[src/trunk]: src/lib/libexecinfo Don't overwrite the real unwind.h if it is p...



details:   https://anonhg.NetBSD.org/src/rev/8dc39c629354
branches:  trunk
changeset: 803387:8dc39c629354
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Oct 24 22:42:16 2014 +0000

description:
Don't overwrite the real unwind.h if it is present.

diffstat:

 lib/libexecinfo/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 3bbcaada9cb4 -r 8dc39c629354 lib/libexecinfo/Makefile
--- a/lib/libexecinfo/Makefile  Fri Oct 24 22:19:44 2014 +0000
+++ b/lib/libexecinfo/Makefile  Fri Oct 24 22:42:16 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2014/10/22 19:29:31 christos Exp $
+# $NetBSD: Makefile,v 1.8 2014/10/24 22:42:16 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -6,7 +6,11 @@
 USE_UNWIND=yes
 WARNS?=4
 INCSDIR=/usr/include
-INCS=execinfo.h unwind.h
+INCS=execinfo.h
+
+.if ${HAVE_LIBGCC_EH} == "yes"
+INCS+= unwind.h
+.endif
 
 #CPPFLAGS+='-D__RCSID(a)=' -D_GNU_SOURCE '-D__printflike(a,b)='
 #CPPFLAGS+=-I/usr/include/libelf



Home | Main Index | Thread Index | Old Index