* 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