Without that fix we have the following compilation error when building
Replicant 6.0 on Trisquel 9 (etiona):
  host SharedLib: libbacktrace_test_32
  ([...]/out/host/linux-x86/obj32/lib/libbacktrace_test.so)
  In file included from system/core/libbacktrace/backtrace_test.cpp:42:
  system/core/include/backtrace/Backtrace.h:52:18: error:
  typedef redefinition with different types ('ucontext' vs 'struct ucontext_t')
  typedef ucontext ucontext_t;
                   ^
  /usr/include/i386-linux-gnu/sys/ucontext.h:254:5: note: previous definition 
is here
    } ucontext_t;
      ^

Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org>
---
 build/Android.common_build.mk | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/build/Android.common_build.mk b/build/Android.common_build.mk
index b84154b307..06b73f344b 100644
--- a/build/Android.common_build.mk
+++ b/build/Android.common_build.mk
@@ -29,10 +29,10 @@ include art/build/Android.common_utils.mk
 #
 # Beware that tests may use the non-debug build for performance, notable 
055-enum-performance
 #
-ART_BUILD_TARGET_NDEBUG ?= true
-ART_BUILD_TARGET_DEBUG ?= true
-ART_BUILD_HOST_NDEBUG ?= true
-ART_BUILD_HOST_DEBUG ?= true
+ART_BUILD_TARGET_NDEBUG ?= false
+ART_BUILD_TARGET_DEBUG ?= false
+ART_BUILD_HOST_NDEBUG ?= false
+ART_BUILD_HOST_DEBUG ?= false
 
 ifeq ($(ART_BUILD_TARGET_NDEBUG),false)
 $(info Disabling ART_BUILD_TARGET_NDEBUG)
-- 
2.33.0

_______________________________________________
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to