summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-04-04 14:51:13 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-04-04 14:51:13 +0000
commit33cced78f6d80223c693906bddc47f0ae50874c2 (patch)
treeb0948803f9ae0960e57329f986a7f5c77aac3a53 /profiles/targets
parentMarking libssh2-0.18 ~ppc (diff)
downloadgentoo-2-33cced78f6d80223c693906bddc47f0ae50874c2.tar.gz
gentoo-2-33cced78f6d80223c693906bddc47f0ae50874c2.tar.bz2
gentoo-2-33cced78f6d80223c693906bddc47f0ae50874c2.zip
Added splitdebug to the developer profile and added a profile.bashrc to add -g to CFLAGS/CXXFLAGS. This is for bug #215946.
Diffstat (limited to 'profiles/targets')
-rw-r--r--profiles/targets/developer/make.defaults4
-rw-r--r--profiles/targets/developer/profile.bashrc5
2 files changed, 7 insertions, 2 deletions
diff --git a/profiles/targets/developer/make.defaults b/profiles/targets/developer/make.defaults
index 66f433ef065e..0bcc9fed5e08 100644
--- a/profiles/targets/developer/make.defaults
+++ b/profiles/targets/developer/make.defaults
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/profiles/targets/developer/make.defaults,v 1.1 2008/04/01 17:41:37 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/profiles/targets/developer/make.defaults,v 1.2 2008/04/04 14:51:13 wolf31o2 Exp $
-FEATURES="collision-protect cvs digest multilib-strict sign stricter userpriv usersandbox"
+FEATURES="collision-protect cvs digest multilib-strict sign splitdebug stricter userpriv usersandbox"
# Disable branding (from desktop)
USE="-branding"
diff --git a/profiles/targets/developer/profile.bashrc b/profiles/targets/developer/profile.bashrc
new file mode 100644
index 000000000000..ba8b4d4358c4
--- /dev/null
+++ b/profiles/targets/developer/profile.bashrc
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+# We change around a few variables, since we've enabled splitdebug.
+export CFLAGS="${CFLAGS} -g"
+export CXXFLAGS="${CXXFLAGS} -g"