summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohammed Habibulla <moch@google.com>2016-07-22 16:14:05 -0700
committerMohammed Habibulla <moch@google.com>2016-07-22 16:14:05 -0700
commitbf215a6d8d17433b6ada853f0f9ba29ebd07b505 (patch)
tree3948d34cf07e9d63dcc4273b8ea12b7f71a98cf7
parent2038aa86daa4ec99b3f199e670a95400a82eb2e0 (diff)
downloadintel-bf215a6d8d17433b6ada853f0f9ba29ebd07b505.tar.gz
Define __UNCONST to build NetBSD source.
BUG=none TEST=none Change-Id: If041bac3ccfdb88302cd8133d63e1c9ae4dc4b7e
-rw-r--r--peripheral/libmraa/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/peripheral/libmraa/Android.mk b/peripheral/libmraa/Android.mk
index ccaa41d..e6e1376 100644
--- a/peripheral/libmraa/Android.mk
+++ b/peripheral/libmraa/Android.mk
@@ -40,6 +40,7 @@ LOCAL_SRC_FILES := \
src/x86/up.c
# glob.c pulled in from NetBSD project (BSD 3-clause License)
+LOCAL_CFLAGS += '-D__UNCONST(a)=((void *)(unsigned long)(const void *)(a))'
LOCAL_SRC_FILES += \
src/glob/glob.c