alexa-voiceagent-service: build in debug mode 60/22660/1
authorScott Murray <scott.murray@konsulko.com>
Tue, 15 Oct 2019 18:03:53 +0000 (14:03 -0400)
committerScott Murray <scott.murray@konsulko.com>
Tue, 15 Oct 2019 17:57:28 +0000 (17:57 +0000)
Tweak the CMake flags to build alexa-voiceagent-service in debug mode
(hopefully temporarily) to avoid the known crash tracked in SPEC-2873.
This also matches the build instructions given in the README.md in
alexa-auto-sdk upstream as of version 2.0.

Bug-AGL: SPEC-2873

Change-Id: I2bc7b14412089660ea253a50bcbe4079e2670be0
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
meta-speech-framework/meta-aac/recipes-apis/alexa-voiceagent-service/alexa-voiceagent-service_git.bb

index 296cf2d..92b54e2 100644 (file)
@@ -33,6 +33,10 @@ S = "${WORKDIR}/git/platforms/agl/alexa-voiceagent-service"
 inherit cmake aglwgt
 
 EXTRA_OECMAKE += "-DAAC_HOME=${RECIPE_SYSROOT}/${AAC_PREFIX}"
+# Build in debug mode (hopefully temporarily) to avoid crash tracked
+# in SPEC-2873.  This also matches the build instructions given in the
+# README.md in alexa-auto-sdk upstream as of version 2.0.
+EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Debug"
 
 # NOTE: curl and opus are from the base SDK libraries, sqlite3 from the
 #       core module