Adding optimisation flags based from sultanxda's
Merge branch 'jb-4.2' of https://github.com/zaclimon/impulse_ypg1 into jb-4.2