Ask Your Question

Revision history [back]

Build with optimization flags

I would like to build opencv4 with the following optimization flags:

-march=native -O3 -flto

What is the right way to specify those flags?