public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in profiles/arch/x86: profile.bashrc
@ 2010-01-11  4:15 Mike Frysinger (vapier)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2010-01-11  4:15 UTC (permalink / raw
  To: gentoo-commits

vapier      10/01/11 04:15:09

  Added:                profile.bashrc
  Log:
  add a common check for dumb USE=profile and CFLAGS=-fomit-frame-pointer combos

Revision  Changes    Path
1.1                  profiles/arch/x86/profile.bashrc

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/arch/x86/profile.bashrc?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/arch/x86/profile.bashrc?rev=1.1&content-type=text/plain

Index: profile.bashrc
===================================================================
if [[ ${EBUILD_PHASE} == "setup" ]] ; then

	# on x86, -pg requires the frame pointer, so turning it off makes no sense
	if hasq profile ${IUSE} && \
	   hasq -fomit-frame-pointer ${CFLAGS} ${CXXFLAGS}
	then
		eerror "\nUSE=profile and -fomit-frame-pointer make no sense"
		eerror "Fix your build settings to avoid build failures\n"
		[[ -z ${EPAUSE_IGNORE} ]] && sleep 5
	fi

fi






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in profiles/arch/x86: profile.bashrc
@ 2010-01-11 16:40 Mike Frysinger (vapier)
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2010-01-11 16:40 UTC (permalink / raw
  To: gentoo-commits

vapier      10/01/11 16:40:06

  Modified:             profile.bashrc
  Log:
  forget to actually check user USE settings

Revision  Changes    Path
1.2                  profiles/arch/x86/profile.bashrc

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/arch/x86/profile.bashrc?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/arch/x86/profile.bashrc?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/profiles/arch/x86/profile.bashrc?r1=1.1&r2=1.2

Index: profile.bashrc
===================================================================
RCS file: /var/cvsroot/gentoo-x86/profiles/arch/x86/profile.bashrc,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- profile.bashrc	11 Jan 2010 04:15:09 -0000	1.1
+++ profile.bashrc	11 Jan 2010 16:40:06 -0000	1.2
@@ -1,7 +1,7 @@
 if [[ ${EBUILD_PHASE} == "setup" ]] ; then
 
 	# on x86, -pg requires the frame pointer, so turning it off makes no sense
-	if hasq profile ${IUSE} && \
+	if hasq profile ${IUSE} && useq profile && \
 	   hasq -fomit-frame-pointer ${CFLAGS} ${CXXFLAGS}
 	then
 		eerror "\nUSE=profile and -fomit-frame-pointer make no sense"






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-11 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-11  4:15 [gentoo-commits] gentoo-x86 commit in profiles/arch/x86: profile.bashrc Mike Frysinger (vapier)
  -- strict thread matches above, loose matches on Subject: below --
2010-01-11 16:40 Mike Frysinger (vapier)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox