let's see if the new dwarf library can handle dwarf 4

This commit is contained in:
christos 2014-03-09 18:00:51 +00:00
parent e6e27ba6dd
commit 199409cf03
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.lib.mk,v 1.347 2014/03/02 22:22:05 christos Exp $
# $NetBSD: bsd.lib.mk,v 1.348 2014/03/09 18:00:51 christos Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.include <bsd.init.mk>
@ -186,7 +186,7 @@ FFLAGS+= ${FOPTS}
.if defined(CFLAGS) && !empty(CFLAGS:M*-g*)
CTFFLAGS+= -g
.if defined(HAVE_GCC) && ${HAVE_GCC} >= 48
CFLAGS+= -gdwarf-2
#CFLAGS+= -gdwarf-2
.endif
.endif
.endif

View File

@ -1,4 +1,4 @@
# $NetBSD: bsd.prog.mk,v 1.288 2014/03/02 22:22:05 christos Exp $
# $NetBSD: bsd.prog.mk,v 1.289 2014/03/09 18:00:51 christos Exp $
# @(#)bsd.prog.mk 8.2 (Berkeley) 4/2/94
.ifndef HOSTPROG
@ -66,7 +66,7 @@ MKDEP_SUFFIXES?= .o .ln
CTFFLAGS+= -g
CTFMFLAGS+= -g
.if defined(HAVE_GCC) && ${HAVE_GCC} >= 48
CFLAGS+=-gdwarf-2
#CFLAGS+=-gdwarf-2
.endif
.endif