On Wed, Apr 08, 2009 at 05:37:01PM +0300, Daniel Bainton wrote:
> 2009/4/8 Szabolcs Nagy <nszabolcs_AT_gmail.com>:
> > On 4/8/09, Daniel Bainton <dpb_AT_driftaway.org> wrote:
> >> 2009/4/8 Jan Blazek <appolito2_AT_gmail.com>:
> >>> +OPTFLAGS = -Os
> >>
> >> This wont make any difference, you can't pass it from the command line
> >> like this anyway.
> >> You're overwriting OPTFLAGS here all the time to -Os. You'll have to
> >> use the following for it to work:
> >> OPTFLAGS ?= -Os
> >>
> >
> > that's not posix, but a bsd (and gnu) make extension though
> >
>
> Ah. But anyway, the original wont work for specifying it in the command line...
http://www.opengroup.org/onlinepubs/009695399/utilities/make.html:
[...]
-e
Cause environment variables, including those with null values, to override macro assignments within makefiles.
[...]
> --
> Daniel
>
Regards,
Matthias-Christian
Received on Wed Apr 08 2009 - 14:57:43 UTC
This archive was generated by hypermail 2.2.0 : Wed Apr 08 2009 - 15:00:08 UTC