Skip to content

community/chromium: build with -O2

Jean-Louis Fuchs requested to merge jeanlf/aports:O2chromium into master

This is just a proposal. My chromium is freezing/crashing too often [1]. On the mailing list @kaniini mentioned that -O2 might improve stability. As usual I ran this for a week on my machine. It seems to improve stability, but does not completely solve the problem. I am not interested in performance changes of -O2 and did not measure anything.

  • The new package is 96.1M (ls -lh), pkgs.alpinelinux.org says it was 87.03 MB (x86_64)

  • The chromium build system reordered the flags and the -Os flag was after the -O2 flag, so I removed -Os, I don't know if that is needed

  • My changes didn't introduce new lint errors

[1] Tabs are freezing/crashing

Edited by Jean-Louis Fuchs

Merge request reports