This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12231 - Centralize codec compilation flag setting
Attached to Project:
Rockbox
Opened by Nils Wallménius (nls) - Sunday, 14 August 2011, 18:44 GMT+2
Last edited by Nils Wallménius (nls) - Thursday, 18 August 2011, 18:34 GMT+2
Opened by Nils Wallménius (nls) - Sunday, 14 August 2011, 18:44 GMT+2
Last edited by Nils Wallménius (nls) - Thursday, 18 August 2011, 18:34 GMT+2
|
DetailsThis patch centralizes the selection of codec compilation flags to codec.make to avoid having to duplicate the per cpu selection logic and the build rule in the codec lib make files and make tweaking easier.
The two special cases, libamd and libspeex were left alone. I plan to introduce a var for arm generation so that appropriate flags can be selected per generation as benchmarking results have shown that different arm arches might have different optimal flags. |
This task depends upon
Closed by Nils Wallménius (nls)
Thursday, 18 August 2011, 18:34 GMT+2
Reason for closing: Accepted
Additional comments about closing: committed
Thursday, 18 August 2011, 18:34 GMT+2
Reason for closing: Accepted
Additional comments about closing: committed
$(A52LIB) : CODECFLAGS += -O1
...
$(A52LIB) : CODECFLAGS += -O2
I guess the last optimization flag is the one that sticks?
edit: from the gcc manual "If you use multiple -O options, with or without level numbers, the last such option is the one that is effective."