/[gentoo-x86]/eclass/debug.eclass
Gentoo

Contents of /eclass/debug.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (show annotations) (download)
Sun Feb 16 04:26:21 2003 UTC (17 years, 4 months ago) by vapier
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.17: +6 -4 lines
header fixes

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4 #
5 # Author: Spider
6 #
7 # A general DEBUG eclass to ease inclusion of debugging information
8 # and to remove "bad" flags from CFLAGS
9
10 # Debug ECLASS
11 ECLASS="debug"
12 INHERITED="$INHERITED $ECLASS"
13 # Do _NOT_ strip symbols in the build! Need both lines for Portage 1.8.9+
14 DEBUG="yes"
15 RESTRICT="nostrip"
16 # Remove omit-frame-pointer as some useless folks define that all over the place. they should be shot with a 16 gauge slingshot at least :)
17 # force debug information
18 export CFLAGS="${CFLAGS/-fomit-frame-pointer/} -g"
19 export CXXFLAGS="${CXXFLAGS/-fomit-frame-pointer/} -g"
20 # einfo "CFLAGS and CXXFLAGS redefined"
21

  ViewVC Help
Powered by ViewVC 1.1.20