Date: Fri, 20 Aug 2004 08:06:51 -0500 From: "Matthew D. Fuller" <fullermd@over-yonder.net> To: Divacky Roman <xdivac02@stud.fit.vutbr.cz> Cc: current@freebsd.org Subject: Re: broken make Message-ID: <20040820130651.GE86032@over-yonder.net> In-Reply-To: <20040820113839.GA93606@stud.fit.vutbr.cz> References: <20040820113839.GA93606@stud.fit.vutbr.cz>
index | next in thread | previous in thread | raw e-mail
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"
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040820130651.GE86032>
