mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-29 02:21:41 +00:00
Add alerts for timesync and disconnection (#1799)
This commit is contained in:
@@ -31,6 +31,12 @@ model {
|
||||
nativeUtils.usePlatformArguments(it)
|
||||
if (it.toolChain instanceof GccCompatibleToolChain) {
|
||||
it.cppCompiler.args << "-Wno-deprecated-enum-enum-conversion"
|
||||
|
||||
if (project.hasProperty('withSanitizers')) {
|
||||
println("Adding asan/usan/lsan to " + it)
|
||||
it.cppCompiler.args << "-fsanitize=address,undefined,leak" << "-g"
|
||||
it.linker.args << "-fsanitize=address,undefined,leak"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user