Skip to content

Commit

Permalink
added sanitizer fix for android
Browse files Browse the repository at this point in the history
  • Loading branch information
LordOfDragons committed Jan 27, 2025
1 parent a8c7df3 commit 9be3a4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ if globalEnv['with_debug'] and globalEnv['with_sanitize']:
'-fsanitize=vptr',
'-fsanitize=pointer-overflow',
'-fsanitize=builtin'])

if globalEnv['TARGET_PLATFORM'] in ['android']:
globalEnv.Replace(SANITIZE_FLAGS = ['-fsanitize=address'])

# define the targets array and reports dictionary to be filled
parent_targets = {}
Expand Down

0 comments on commit 9be3a4a

Please sign in to comment.