Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 20:23:21 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        freebsd-toolchain@FreeBSD.org, freebsd-dtrace@FreeBSD.org
Subject:   WITH_CTF vs -g
Message-ID:  <54108909.7050908@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

In my opinion WITH_CTF should imply -g in CFLAGS otherwise, as far as I can see,
there is nothing to generate CTF data from.  Forcing an end-user to remember to
additionally pass -g is not nice.

Also, I think that we can always have -g in CTFFLAGS, because the stripping step
takes care of the original DWARF data in any case.  But I am not 100% sure about
this.

What do you think?
Thanks!
-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54108909.7050908>