-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/include/fmt/core.h b/include/fmt/core.h | ||
index f6a37af..ffabe63 100644 | ||
--- a/include/fmt/core.h | ||
+++ b/include/fmt/core.h | ||
@@ -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__) && !defined(__CUDACC__) | ||
FMT_GCC_PRAGMA("GCC optimize(\"Og\")") | ||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters