Disable "GCC optimize" pragma for LCC

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
Vladislav Shchapov 2022-08-25 15:54:08 +05:00 committed by Victor Zverovich
parent a33701196a
commit a553521d6d

View File

@ -286,7 +286,7 @@
// Enable minimal optimizations for more compact code in debug mode.
FMT_GCC_PRAGMA("GCC push_options")
#if !defined(__OPTIMIZE__) && !defined(__NVCOMPILER)
#if !defined(__OPTIMIZE__) && !defined(__NVCOMPILER) && !defined(__LCC__)
FMT_GCC_PRAGMA("GCC optimize(\"Og\")")
#endif