* [gentoo-commits] gentoo-x86 commit in profiles/targets/developer: profile.bashrc
@ 2008-04-08 15:54 Chris Gianelloni (wolf31o2)
0 siblings, 0 replies; 2+ messages in thread
From: Chris Gianelloni (wolf31o2) @ 2008-04-08 15:54 UTC (permalink / raw
To: gentoo-commits
wolf31o2 08/04/08 15:54:13
Modified: profile.bashrc
Log:
Change the profile.bashrc on the developer profile to not touch CFLAGS.
Revision Changes Path
1.2 profiles/targets/developer/profile.bashrc
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/targets/developer/profile.bashrc?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/targets/developer/profile.bashrc?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/targets/developer/profile.bashrc?r1=1.1&r2=1.2
Index: profile.bashrc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/profiles/targets/developer/profile.bashrc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- profile.bashrc 4 Apr 2008 14:51:13 -0000 1.1
+++ profile.bashrc 8 Apr 2008 15:54:13 -0000 1.2
@@ -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
--
gentoo-commits@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in profiles/targets/developer: profile.bashrc
@ 2011-06-08 13:36 PaweA Hajdan (phajdan.jr)
0 siblings, 0 replies; 2+ messages in thread
From: PaweA Hajdan (phajdan.jr) @ 2011-06-08 13:36 UTC (permalink / raw
To: gentoo-commits
phajdan.jr 11/06/08 13:36:13
Removed: profile.bashrc
Log:
Remove "You should enable -g (or higher) for debugging" message from the developer profile, <http://archives.gentoo.org/gentoo-dev/msg_b3b395864767d6b6f29f55e0911d4431.xml>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-08 13:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-08 13:36 [gentoo-commits] gentoo-x86 commit in profiles/targets/developer: profile.bashrc PaweA Hajdan (phajdan.jr)
-- strict thread matches above, loose matches on Subject: below --
2008-04-08 15:54 Chris Gianelloni (wolf31o2)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox