This patch looks great, and so do the tests. I just have 1 suggestion and a diff comment. Since this is a full patch and not just a simple diff from upstream, I recommend naming it lp2002043-add-optimization-flags-to-cflags.patch rather than lp2002043-add-optimization-flags-to-cflags.diff. That's just a nitpick though and not a necessary change. Overall LGTM, I can sponsor whenever you'd like.
This patch looks great, and so do the tests. I just have 1 suggestion and a diff comment. Since this is a full patch and not just a simple diff from upstream, I recommend naming it lp2002043- add-optimizatio n-flags- to-cflags. patch rather than lp2002043- add-optimizatio n-flags- to-cflags. diff. That's just a nitpick though and not a necessary change. Overall LGTM, I can sponsor whenever you'd like.