mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-30 13:50:05 +00:00
Only use -Og with optimizations disabled
This commit is contained in:
parent
243d8bebd1
commit
35c71ff536
@ -254,7 +254,9 @@
|
|||||||
|
|
||||||
// Enable minimal optimizations for more compact code in debug mode.
|
// Enable minimal optimizations for more compact code in debug mode.
|
||||||
FMT_GCC_PRAGMA("GCC push_options")
|
FMT_GCC_PRAGMA("GCC push_options")
|
||||||
|
#ifndef __OPTIMIZE__
|
||||||
FMT_GCC_PRAGMA("GCC optimize(\"Og\")")
|
FMT_GCC_PRAGMA("GCC optimize(\"Og\")")
|
||||||
|
#endif
|
||||||
|
|
||||||
FMT_BEGIN_NAMESPACE
|
FMT_BEGIN_NAMESPACE
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user