[PATCH] Use CFLAGS for compiling bin2hex
Simon Horman
horms at verge.net.au
Tue Jul 15 06:28:10 EDT 2008
On Tue, Jul 15, 2008 at 10:48:03AM +0200, Bernhard Walle wrote:
> * Jeremy Kerr [2008-07-15 11:41]:
> >
> >
> > > $(BIN_TO_HEX): CC=$(BUILD_CC)
> > > -$(BIN_TO_HEX): CFLAGS=$(BUILD_CFLAGS)
> > > +$(BIN_TO_HEX): CFLAGS+=$(BUILD_CFLAGS)
> > > $(BIN_TO_HEX): LDFLAGS=
> >
> > Are you sure? CFLAGS will include stuff for $host (eg, -m64 for a 64-bit
> > host machine).
>
> No, I'm not sure since I don't use the cross compilation feature, but
> what's your proposal to use custom cflags like $RPM_OPT_FLAGS?
I wonder if we can make BUILD_CFLAGS and friends be accepted fron the
envionment.
--
Horms
More information about the kexec
mailing list