mirror of
https://github.com/fmtlib/fmt.git
synced 2026-06-15 08:26:13 +08:00
fix GCC PCH Breakage Triggered by fmt Scoped #pragma GCC optimize(0g)
This commit is contained in:
parent
9cb8c0f92b
commit
983aad5cf1
@ -226,7 +226,7 @@
|
||||
|
||||
// Enable minimal optimizations for more compact code in debug mode.
|
||||
FMT_PRAGMA_GCC(push_options)
|
||||
#if !defined(__OPTIMIZE__) && !defined(__CUDACC__) && !defined(FMT_MODULE)
|
||||
#if !defined(FMT_DISABLE_DEBUG_OPTIMIZE_PRAGMA) && !defined(__OPTIMIZE__) && !defined(__CUDACC__) && !defined(FMT_MODULE)
|
||||
FMT_PRAGMA_GCC(optimize("Og"))
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user