On Sun, Dec 14, 2008 at 09:19:23AM +0900, Charles Plessy wrote: > Le Sat, Dec 13, 2008 at 10:54:02AM -0600, Steve M. Robbins a ??crit : > > > > OK. But if upstream believes a default build should use -O3, why is > > Debian overriding it to -O2? > -O2 is the default in Debian (Policy 10.1) In fact, if you read it carefully, that section says to build "with optimization". It goes on to say: It is up to the package maintainer to decide what compilation options are best for the package. Certain binaries (such as computationally-intensive programs) will function better with certain flags (`-O3', for example); feel free to use them. Please use good judgment here. As you say, it could be worthwhile to benchmark to see whether the extra optimization is useful. But benchmarking is a tricky business: it can be hard to benchmark all use cases of the software (I have no idea what "velvet" is, so I'm only speaking in generalities). So one might be inclined rather to follow upstream here. What would be the harm? Cheers, -Steve
Attachment:
signature.asc
Description: Digital signature