We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84be110 commit f01db7aCopy full SHA for f01db7a
cmake/compiler/clang/compiler_flags.cmake
@@ -3,6 +3,13 @@ include(${ZEPHYR_BASE}/cmake/compiler/gcc/compiler_flags.cmake)
3
4
# Now, let's overwrite the flags that are different in clang.
5
6
+set_property(TARGET compiler-cpp PROPERTY dialect_cpp2a "-std=c++2a"
7
+ "-Wno-register")
8
+set_property(TARGET compiler-cpp PROPERTY dialect_cpp20 "-std=c++20"
9
10
+set_property(TARGET compiler-cpp PROPERTY dialect_cpp2b "-std=c++2b"
11
12
+
13
# No property flag, clang doesn't understand fortify at all
14
set_compiler_property(PROPERTY security_fortify_compile_time)
15
set_compiler_property(PROPERTY security_fortify_run_time)
0 commit comments