mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
waf: setup UBSAN_ENABLED define
This commit is contained in:
parent
9b0c8674d6
commit
4d4a1ddd42
@ -561,6 +561,7 @@ class sitl(Board):
|
||||
env.CXXFLAGS += [
|
||||
"-fsanitize=undefined",
|
||||
"-fsanitize=float-cast-overflow",
|
||||
"-DUBSAN_ENABLED",
|
||||
]
|
||||
env.LINKFLAGS += [
|
||||
"-fsanitize=undefined",
|
||||
|
Loading…
Reference in New Issue
Block a user