broken make
Matthew D. Fuller
fullermd at over-yonder.net
Fri Aug 20 06:06:57 PDT 2004
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 at 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"
More information about the freebsd-current
mailing list