[opus] [libopusfile PATCH] build: implement autotools build system for libopusfile.

Diego Elio Pettenò flameeyes at flameeyes.eu
Tue Sep 25 08:37:33 PDT 2012


On 25/09/2012 08:33, Timothy B. Terriberry wrote:
> Does't "$(filter-out -O%,$(CFLAGS))" work? Speaking as someone who has 
> cobbled together scripts to use for CC so they could translate gcc 
> options into crazy embedded compiler options, I'd rather not rely on 
> argument-parsing order.

Using it that way it should work — although I'm still uncertain if we
shouldn't just rely on the argument order in that case, easy enough to
change if you feel strongly about it (I don't).

The other point is that -O0 will turn off whatever the user passed on
./configure which is an optimisation but not an -O level (e.g.,
-funroll-loops).

As I said, easy enough to change.

-- 
Diego Elio Pettenò — Flameeyes
flameeyes at flameeyes.euhttp://blog.flameeyes.eu/


More information about the opus mailing list