diff options
-rwxr-xr-x | build.py | 2 | ||||
-rw-r--r-- | system/bta/gatt/database.cc | 1 | ||||
-rw-r--r-- | system/bta/vc/devices.h | 1 |
3 files changed, 3 insertions, 1 deletions
@@ -333,7 +333,7 @@ class HostBuild(): 'libbase_ver': self._get_basever(), 'enable_exceptions': os.environ.get('CXXEXCEPTIONS', 0) == '1', 'external_cflags': [], - 'external_cxxflags': [], + 'external_cxxflags': ["-DNDEBUG"], 'enable_werror': False, } diff --git a/system/bta/gatt/database.cc b/system/bta/gatt/database.cc index 433fd55ac0..184ff9223f 100644 --- a/system/bta/gatt/database.cc +++ b/system/bta/gatt/database.cc @@ -20,6 +20,7 @@ #include <base/logging.h> +#include <algorithm> #include <list> #include <memory> #include <sstream> diff --git a/system/bta/vc/devices.h b/system/bta/vc/devices.h index 71dc6c9e00..f2ce3014ba 100644 --- a/system/bta/vc/devices.h +++ b/system/bta/vc/devices.h @@ -17,6 +17,7 @@ #pragma once +#include <algorithm> #include <cstdint> #include <unordered_set> #include <vector> |