File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -189,21 +189,21 @@ 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_clang } :-fsanitize=address>)
192+ $<${is_gnu_fe } :-fsanitize=address>)
193193
194194 target_link_options (${ASTCENC_TARGET_NAME}
195195 PRIVATE
196- $<${is_clang } :-fsanitize=address>)
196+ $<${is_gnu_fe } :-fsanitize=address>)
197197 endif ()
198198
199199 if (${ASTCENC_UBSAN} )
200200 target_compile_options (${ASTCENC_TARGET_NAME}
201201 PRIVATE
202- $<${is_clang } :-fsanitize=undefined>)
202+ $<${is_gnu_fe } :-fsanitize=undefined>)
203203
204204 target_link_options (${ASTCENC_TARGET_NAME}
205205 PRIVATE
206- $<${is_clang } :-fsanitize=undefined>)
206+ $<${is_gnu_fe } :-fsanitize=undefined>)
207207 endif ()
208208
209209 if (NOT ${ASTCENC_INVARIANCE} )
You can’t perform that action at this time.
0 commit comments