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)
189
189
if (${ASTCENC_ASAN} )
190
190
target_compile_options (${ASTCENC_TARGET_NAME}
191
191
PRIVATE
192
- $< ${is_gnu_fe} :-fsanitize=address> )
192
+ $< ${is_gnu_fe} :-fsanitize=address>
193
+ $< ${is_gnu_fe} :-fno-sanitize-recover=all> )
193
194
194
195
target_link_options (${ASTCENC_TARGET_NAME}
195
196
PRIVATE
196
- $< ${is_gnu_fe} :-fsanitize=address> )
197
+ $< ${is_gnu_fe} :-fsanitize=address>
198
+ $< ${is_clang} :-fuse-ld=lld> )
199
+
197
200
endif ()
198
201
199
202
if (${ASTCENC_UBSAN} )
200
203
target_compile_options (${ASTCENC_TARGET_NAME}
201
204
PRIVATE
202
- $< ${is_gnu_fe} :-fsanitize=undefined> )
205
+ $< ${is_gnu_fe} :-fsanitize=undefined>
206
+ $< ${is_gnu_fe} :-fno-sanitize-recover=all> )
203
207
204
208
target_link_options (${ASTCENC_TARGET_NAME}
205
209
PRIVATE
206
- $< ${is_gnu_fe} :-fsanitize=undefined> )
210
+ $< ${is_gnu_fe} :-fsanitize=undefined>
211
+ $< ${is_clang} :-fuse-ld=lld> )
207
212
endif ()
208
213
209
214
if (NOT ${ASTCENC_INVARIANCE} )
You can’t perform that action at this time.
0 commit comments