summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin PETIT <kevin.petit@arm.com>2014-02-06 18:25:13 +0000
committerAmit Pundir <amit.pundir@linaro.org>2014-03-18 16:58:54 +0530
commit811a3b7f326b15321088d7aed05769900d0be7f5 (patch)
tree45e92ddf0e0b58798a0c162544aaf2b5c7b5341f
parent32e865f451d2fbb97e5bb27300f8e4da803fb790 (diff)
downloadwilhelm-linaro-juice2.tar.gz
Disable DEBUG on arm64linaro-juice2
Because of a missing pthread function. Change-Id: Ia6cc76cab7940846689163b550d6c169d6e17be9
-rw-r--r--src/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Android.mk b/src/Android.mk
index 3b482ba..cc51545 100644
--- a/src/Android.mk
+++ b/src/Android.mk
@@ -46,8 +46,12 @@ LOCAL_CFLAGS += -DUSE_TRACE
# or -UUSE_TRACE to disable API logging
# enable mutex deadlock detection
-LOCAL_CFLAGS += -DUSE_DEBUG
# or -UUSE_DEBUG for no mutex deadlock detection
+ifeq ($(TARGET_ARCH),arm64)
+LOCAL_CFLAGS += -UUSE_DEBUG
+else
+LOCAL_CFLAGS += -DUSE_DEBUG
+endif
# enable assert() to do runtime checking
LOCAL_CFLAGS += -UNDEBUG