* Simon Horman [2008-07-15 20:28]: > > 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. BUILD_CFLAGS=... ./configure didn't also work. That would be acceptable for me. Bernhard -- Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development