From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23794 invoked from network); 18 Jul 2004 02:11:24 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 18 Jul 2004 02:11:24 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1Bm19A-0000Fd-Hq for arch-gentoo-dev@lists.gentoo.org; Sun, 18 Jul 2004 02:11:24 +0000 Received: (qmail 12806 invoked by uid 89); 18 Jul 2004 02:11:23 +0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 3651 invoked from network); 18 Jul 2004 02:11:23 +0000 From: Mike Frysinger Organization: wh0rd.org To: gentoo-dev@lists.gentoo.org Date: Sat, 17 Jul 2004 22:11:30 -0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200407172211.30285.vapier@gentoo.org> Subject: [gentoo-dev] update `strip-flags` to allow flags that disable stuff X-Archives-Salt: 8ae6194f-65f5-4802-8df4-b83e43f4c3f7 X-Archives-Hash: 20eb3668dd23b9bdf6d80294ae6da4c7 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