[PATCH] Use CFLAGS for compiling bin2hex

Jeremy Kerr jk at ozlabs.org
Mon Jul 14 21:41:31 EDT 2008


>  $(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).

Cheers,


Jeremy



More information about the kexec mailing list