diff options
author | 2008-04-08 15:54:13 +0000 | |
---|---|---|
committer | 2008-04-08 15:54:13 +0000 | |
commit | a9133f33337b83e115ba8677586788843a5facde (patch) | |
tree | 344fb3a0545b336287ccfb12ef4c7f2b5d3dc590 /profiles | |
parent | Moved ppc64 masks to default/linux/powerpc/ppc64/2008.0/64bit-userland (for n... (diff) | |
download | historical-a9133f33337b83e115ba8677586788843a5facde.tar.gz historical-a9133f33337b83e115ba8677586788843a5facde.tar.bz2 historical-a9133f33337b83e115ba8677586788843a5facde.zip |
Change the profile.bashrc on the developer profile to not touch CFLAGS.
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/ChangeLog | 6 | ||||
-rw-r--r-- | profiles/targets/developer/profile.bashrc | 17 |
2 files changed, 20 insertions, 3 deletions
diff --git a/profiles/ChangeLog b/profiles/ChangeLog index 190a43b6cd1a..ce23fe0dfbec 100644 --- a/profiles/ChangeLog +++ b/profiles/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for profile directory # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/profiles/ChangeLog,v 1.1303 2008/04/08 15:44:44 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/profiles/ChangeLog,v 1.1304 2008/04/08 15:54:12 wolf31o2 Exp $ + + 08 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org> + targets/developer/profile.bashrc: + Change the profile.bashrc on the developer profile to not touch CFLAGS. 08 Apr 2008; Chris Gianelloni <wolf31o2@gentoo.org> arch/powerpc/ppc64/package.mask, arch/powerpc/ppc64/use.mask, diff --git a/profiles/targets/developer/profile.bashrc b/profiles/targets/developer/profile.bashrc index ba8b4d4358c4..2fc6a40b10ae 100644 --- a/profiles/targets/developer/profile.bashrc +++ b/profiles/targets/developer/profile.bashrc @@ -1,5 +1,18 @@ #!/bin/bash # We change around a few variables, since we've enabled splitdebug. -export CFLAGS="${CFLAGS} -g" -export CXXFLAGS="${CXXFLAGS} -g" +debug=0 +for flag in ${CFLAGS} +do + case ${flag} in + -g*) debug=1 ;; + esac +done + +if [ ${debug} -eq 0 ] +then + if [[ "${EBUILD_PHASE}" == "setup" ]] + then + echo "You should enable -g (or higher) for debugging!" + fi +fi |