fs2open.github.com icon indicating copy to clipboard operation
fs2open.github.com copied to clipboard

Modernise CFLAGS on Mac/Linux

Open PhantomHoover opened this issue 3 years ago • 0 comments

Per GCC optimisation guide, which applies equally well to clang:

  • -funroll-loops should not be used unless directed by profiling. The compiler will already unroll loops when it's a good idea.
  • clang and gcc now have -Og optimisation levels designed to enable debugging with good performance.

PhantomHoover avatar Aug 19 '22 07:08 PhantomHoover