File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,8 +117,8 @@ function(sourcemeta_add_default_options visibility target)
117117
118118 # See https://best.openssf.org/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.html
119119 target_compile_options ("${target} " ${visibility}
120- $<$<CONFIG :Release >:-fno -delete -null -pointer -checks -fno -strict -aliasing -ftrivial -auto -var -init =zero >
121- $<$<CONFIG :RelWithDebInfo >:-fno -delete -null -pointer -checks -fno -strict -aliasing -ftrivial -auto -var -init =zero >)
120+ $<$<CONFIG :Release >:-fno -delete -null -pointer -checks ; -fno -strict -aliasing ; -ftrivial -auto -var -init =zero >
121+ $<$<CONFIG :RelWithDebInfo >:-fno -delete -null -pointer -checks ; -fno -strict -aliasing ; -ftrivial -auto -var -init =zero >)
122122 elseif (SOURCEMETA_COMPILER_GCC)
123123 target_compile_options ("${target} " ${visibility}
124124 -fno-trapping-math
You can’t perform that action at this time.
0 commit comments