android: fix undefined references to futex API
authorTapani Pälli <tapani.palli@intel.com>
Tue, 12 Dec 2017 08:01:56 +0000 (10:01 +0200)
committerTapani Pälli <tapani.palli@intel.com>
Mon, 18 Dec 2017 07:24:38 +0000 (09:24 +0200)
Fixes: f98a2768ca "mesa: Add new fast mtx_t mutex type for basic use cases"
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Android.common.mk

index 103e3fec6152607b68c471c292f3b9fe5b4f4f73..d9f871c08c76816f2c8cd6911f08ee13d5c43b66 100644 (file)
@@ -69,6 +69,7 @@ LOCAL_CFLAGS += \
        -DHAVE_PTHREAD=1 \
        -DHAVE_DLADDR \
        -DHAVE_DL_ITERATE_PHDR \
+       -DHAVE_LINUX_FUTEX_H \
        -DMAJOR_IN_SYSMACROS \
        -fvisibility=hidden \
        -Wno-sign-compare