Disable LTO and O3 optimization to fix FTBFS on Ubuntu
Version 1.19.2+dfsg-2 currently fails to build from source on Ubuntu on architectures amd64
and arm64
.
LTO and O3 optimizations are enabled by default on Ubuntu, so this PR aims to disable them to fix the failure to build from source on these two architectures.