From owner-freebsd-questions Sun Feb 17 12:22: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web21006.mail.yahoo.com (web21006.mail.yahoo.com [216.136.227.60]) by hub.freebsd.org (Postfix) with SMTP id 7337637B41A for ; Sun, 17 Feb 2002 12:21:44 -0800 (PST) Message-ID: <20020217202144.1110.qmail@web21006.mail.yahoo.com> Received: from [66.3.230.240] by web21006.mail.yahoo.com via HTTP; Sun, 17 Feb 2002 20:21:44 GMT Date: Sun, 17 Feb 2002 20:21:44 +0000 (GMT) From: =?iso-8859-1?q?Matt=20Sykes?= Subject: CFLAGS should not apply to world or modules To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG (4.5-stable) ... or there should be a separate PORTS_CFLAGS or WORLD_CFLAGS or whatever. If I want to set -O2 -march=pentiumpro for building XFree86, I don't necessarily want my 'ls' command optimized as such, especially since there are warnings that these optimizations can break things in the world. And these optimizations make little sense for kernel modules in all concievable cases. Yeah I could edit make.conf every time I build ports or the kernel/world, or always pass these flags explicitly at the command line etc., but that's annoying and a workaround for a setup which is Blatantly Incorrect. I see this discussed here and there, but the problem still persists. Why? --Matt __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message