From: Rich Felker Date: Tue, 23 Jul 2013 01:22:04 +0000 (-0400) Subject: enhance build process to allow selective -O3 optimization X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=a80847d86a8865a78fdbebe7f9e2533f7a74e010;hp=a80847d86a8865a78fdbebe7f9e2533f7a74e010;p=musl enhance build process to allow selective -O3 optimization the motivation for this patch is that the vast majority of libc is code that does not benefit at all from optimizations, but that certain components like string/memory operations can be major performance bottlenecks. at the same time, the old -falign-*=1 options are removed, since they were only beneficial for avoiding bloat when global -O3 was used, and in that case, they may have prevented some of the performance gains. to be the most useful, this patch will need further tuning. in particular, research is needed to determine which components should be built with -O3 by default, and it may be desirable to remove the hard-coded -O3 and instead allow more customization of the optimization level used for selected modules. ---