Skip to content
Commit fa12d3bf authored by Juhyung Park's avatar Juhyung Park Committed by Kader Bava
Browse files

power: oppo: relax compiler optimizations



Unfortunately, oplus_chg is full of dangerous kernel coding practices
including weak memory orderings and will be prone to multiple breakages
if the compiler (optimization flags) changes.

Rather than spending time fixing all that, risking blowing up my phone,
relax the optimizations to -Os so that it is less susceptible to -O2/-O3
changes and follow closer to what the OPPO/OnePlus engineers originally
intended.

Change-Id: I6bc976ae6a5296ef32fc7b5e82d876138bde6465
Signed-off-by: default avatarJuhyung Park <qkrwngud825@gmail.com>
Signed-off-by: default avatarimprobir <ghosh_probir@yahoo.com>
parent 383764c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment