2009/4/8 Matthias-Christian Ott <o...@mirix.org>: > On Wed, Apr 08, 2009 at 05:37:01PM +0300, Daniel Bainton wrote: >> 2009/4/8 Szabolcs Nagy <nszabo...@gmail.com>: >> > On 4/8/09, Daniel Bainton <d...@driftaway.org> wrote: >> >> 2009/4/8 Jan Blazek <appoli...@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 > >
Ah, always learning something new. :) -- Daniel