Le lundi 03 janvier 2005 à 15:20 +0100, Bruno Hertz a écrit : > On Mon, 2005-01-03 at 14:55 +0100, Damien Sandras wrote: > > > Yes, that will work. But if there is a -O2 hardcoded somewhere, both -O2 > > and the CFLAGS will be used. > > Sure. Still, in case one re-configures often, which implies > rebuilding the makefiles, editing resp. patching them all > the time might become a kind of a tedious task. > > So, to avoid this I then guess the options are > > * pass CFLAGS (resp. I think CCFLAGS for g++) to configure via > CFLAGS=blah ./configure ... > * or do the same during make via > CFLAGS=blah make > or > make -DCFLAGS=blah > > Logging the build like make 2>&1 | tee make.log and grep'ing > those logs for O2 then might provide a reasonably easy way to > ensure no optimization is used. > > And if there's still some hardcoded optimization, well bad luck :) > Maybe editing Makefile.in can fix that ... > And contributing a patch :) -- _ Damien Sandras (o- GnomeMeeting: http://www.gnomemeeting.org/ //\ FOSDEM 2005 : http://www.fosdem.org v_/_ H.323 phone : callto:ils.seconix.com/dsandras seconix com
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=