diff --git a/cc/sanitize.go b/cc/sanitize.go index eccd25587..385b5655c 100644 --- a/cc/sanitize.go +++ b/cc/sanitize.go @@ -285,9 +285,6 @@ func (sanitize *sanitize) flags(ctx ModuleContext, flags Flags) Flags { if Bool(sanitize.Properties.Sanitize.All_undefined) { sanitizers = append(sanitizers, "undefined") - if ctx.Device() { - ctx.ModuleErrorf("ubsan is not yet supported on the device") - } } else { if Bool(sanitize.Properties.Sanitize.Undefined) { sanitizers = append(sanitizers,