From owner-freebsd-current@FreeBSD.ORG Fri Aug 20 13:06:57 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9328B16A4CE for ; Fri, 20 Aug 2004 13:06:57 +0000 (GMT) Received: from regina.plastikos.com (plastikos.com [69.38.58.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 078F543D31 for ; Fri, 20 Aug 2004 13:06:55 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-222-80-222.jan.bellsouth.net [68.222.80.222]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by regina.plastikos.com (Postfix) with ESMTP id DC8836EF06 for ; Fri, 20 Aug 2004 09:06:53 -0400 (EDT) Received: by mortis.over-yonder.net (Postfix, from userid 100) id AEC7620F2A; Fri, 20 Aug 2004 08:06:51 -0500 (CDT) Date: Fri, 20 Aug 2004 08:06:51 -0500 From: "Matthew D. Fuller" To: Divacky Roman Message-ID: <20040820130651.GE86032@over-yonder.net> References: <20040820113839.GA93606@stud.fit.vutbr.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040820113839.GA93606@stud.fit.vutbr.cz> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.6i-fullermd.2 cc: current@freebsd.org Subject: Re: broken make X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 13:06:57 -0000 On Fri, Aug 20, 2004 at 01:38:39PM +0200 I heard the voice of Divacky Roman, and lo! it spake thus: > I have this > MAKE_ARGS = { > 'multimedia/mplayer*' => [ > 'WITH_OPTIMIZED_CFLAGS=-O3 -ffast-math -fomit-frame-pointer', [...] > make: cannot open fast-math. > > when I remove that -ffast-math it complies about not being able to open > omit-frame-pointer.... > > so something is broken I suppose Yes. - WITH_OPTIMIZED_CFLAGS is a ".if defined()" test, not a contents test, so you'd just define it with YES or something. - Above and beyond that, that's a string with spaces you didn't quote, so the command-line is ending up looking like # make WITH_OPTIMIZED_CFLAGS=-O3 -ffast-math -fomit-frame-pointer which means it's running make with WITH_OPTIMIZED_CFLAGS set to "-O3", trying to look for the Makefile called "fast-math", etc. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet"