This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#12258 - Do not use -ffunction-sections -fdata-sections for mingw builds
Attached to Project:
Rockbox
Opened by Andree Buschmann (Buschel) - Saturday, 03 September 2011, 15:32 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 07 September 2011, 21:25 GMT+2
Opened by Andree Buschmann (Buschel) - Saturday, 03 September 2011, 15:32 GMT+2
Last edited by Andree Buschmann (Buschel) - Wednesday, 07 September 2011, 21:25 GMT+2
|
DetailsThe attached patch changes the makefiles for plugins, codeclibs and codecs/lib/tlsf to not use '-ffunction-sections' and '-fdata-sections' for simulator builds. This removes several warnings when compiling in my environment (Ubuntu + mingw32).
This needs a review, I am not sure whether I am detecting simulator builds 100% right via "ifdef APP_TYPE". |
This task depends upon
Closed by Andree Buschmann (Buschel)
Wednesday, 07 September 2011, 21:25 GMT+2
Reason for closing: Accepted
Additional comments about closing: Submitted with r30468.
Wednesday, 07 September 2011, 21:25 GMT+2
Reason for closing: Accepted
Additional comments about closing: Submitted with r30468.
The new version checks whether a mingw cross compiler is used. In this case '-ffunction-sections' and '-fdata-sections' is not used.
'-ffunction-sections' and '-fdata-sections' should be not used for cygwin as well. Therefor check for "sdl-sim".