Only use -Og with optimizations disabled

This commit is contained in:
Victor Zverovich 2021-03-27 11:35:01 -07:00
parent 243d8bebd1
commit 35c71ff536

View File

@ -254,7 +254,9 @@
// Enable minimal optimizations for more compact code in debug mode.
FMT_GCC_PRAGMA("GCC push_options")
#ifndef __OPTIMIZE__
FMT_GCC_PRAGMA("GCC optimize(\"Og\")")
#endif
FMT_BEGIN_NAMESPACE