Merge "romlib: Improve compilation flags definition" into integration