File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -189,21 +189,26 @@ macro(astcenc_set_properties ASTCENC_TARGET_NAME ASTCENC_VENEER_TYPE)
189189 if (${ASTCENC_ASAN} )
190190 target_compile_options (${ASTCENC_TARGET_NAME}
191191 PRIVATE
192- $<${is_gnu_fe} :-fsanitize=address>)
192+ $<${is_gnu_fe} :-fsanitize=address>
193+ $<${is_gnu_fe} :-fno-sanitize-recover=all >)
193194
194195 target_link_options (${ASTCENC_TARGET_NAME}
195196 PRIVATE
196- $<${is_gnu_fe} :-fsanitize=address>)
197+ $<${is_gnu_fe} :-fsanitize=address>
198+ $<${is_clang} :-fuse-ld=lld>)
199+
197200 endif ()
198201
199202 if (${ASTCENC_UBSAN} )
200203 target_compile_options (${ASTCENC_TARGET_NAME}
201204 PRIVATE
202- $<${is_gnu_fe} :-fsanitize=undefined>)
205+ $<${is_gnu_fe} :-fsanitize=undefined>
206+ $<${is_gnu_fe} :-fno-sanitize-recover=all >)
203207
204208 target_link_options (${ASTCENC_TARGET_NAME}
205209 PRIVATE
206- $<${is_gnu_fe} :-fsanitize=undefined>)
210+ $<${is_gnu_fe} :-fsanitize=undefined>
211+ $<${is_clang} :-fuse-ld=lld>)
207212 endif ()
208213
209214 if (NOT ${ASTCENC_INVARIANCE} )
You can’t perform that action at this time.
0 commit comments