diff options
Diffstat (limited to 'bindings/python/Android.mk')
-rw-r--r-- | bindings/python/Android.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bindings/python/Android.mk b/bindings/python/Android.mk index 2cfd13d..296d4bc 100644 --- a/bindings/python/Android.mk +++ b/bindings/python/Android.mk @@ -48,7 +48,11 @@ LOCAL_C_INCLUDES := \ # The 'unused-but-set-variable' warning must be disabled because SWIG generates # files that do not respect that constraint. -LOCAL_CFLAGS := -Wno-unused-but-set-variable -fexceptions +# '-DSWIG_PYTHON_SILENT_MEMLEAK' is needed because the "memleak" warning +# pollutes the standard output. At the time of writing, the only warning is +# spurious anyway, as it relates to "ILogger *" which is an abstract +# class/interface class and as such cannot be destroyed. +LOCAL_CFLAGS := -Wno-unused-but-set-variable -fexceptions -DSWIG_PYTHON_SILENT_MEMLEAK # Undefined symbols will be resolved at runtime LOCAL_ALLOW_UNDEFINED_SYMBOLS := true |