Fixes build errors/warnings:
locfile.c: In function 'locfile_init':
locfile.c:21:3: error: 'for' loop initial declarations are only allowed
in C99 mode
for (int i=0; i<length; i++) {
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
There is a gcc related bug that causes the following issue on MIPS:
Assertion failed: jv_get_kind(a) == JV_KIND_STRING (jv.c: jvp_string_ptr: 435)
This patch will disable SRA optimizations on MIPS platform and prevent
the above issue.
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>