public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] update `strip-flags` to allow flags that disable stuff
@ 2004-07-18  2:11 Mike Frysinger
  2004-07-18  3:05 ` Ciaran McCreesh
  2004-07-18  3:28 ` Brandon Hale
  0 siblings, 2 replies; 5+ messages in thread
From: Mike Frysinger @ 2004-07-18  2:11 UTC (permalink / raw
  To: gentoo-dev

i was trying to debug xorg-x11 and the CFLAGS that were causing it to segfault 
on my box when i found the following CFLAGS got mangled because of 
`strip-flags`:
CFLAGS="-O2 -march=pentium4 -mno-mmx -mno-sse -mno-sse2 -pipe"
suddenly xorg-x11 was built with:
CFLAGS="-O2 -march=pentium4 -pipe"

now, considering `strip-flags` is intended to 'sanitize' CFLAGS of all the 
crazy crap people stick in it for the purpose of not *over* optimizing, it 
seems like when people want to *disable* a few optimizations, they should :)

so my proposal is that `strip-flags` will allow any flag that begins with 
'-mno-' or '-fno-' ... any objections ?
-mike

--
gentoo-dev@gentoo.org mailing list


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

end of thread, other threads:[~2004-07-18  3:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-18  2:11 [gentoo-dev] update `strip-flags` to allow flags that disable stuff Mike Frysinger
2004-07-18  3:05 ` Ciaran McCreesh
2004-07-18  3:18   ` Mike Frysinger
2004-07-18  3:50     ` Ciaran McCreesh
2004-07-18  3:28 ` Brandon Hale

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