[PATCH] Use CFLAGS for compiling bin2hex

Bernhard Walle bwalle at suse.de
Tue Jul 15 04:48:03 EDT 2008


* 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?



Bernhard
-- 
Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development



More information about the kexec mailing list