Re: broken make

From: Matthew D. Fuller <fullermd_at_over-yonder.net>
Date: Fri, 20 Aug 2004 08:06:51 -0500
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"
Received on Fri Aug 20 2004 - 11:06:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC