Fixes building errors due to multiple definition of ffs and ffsll
as they are provided by bionic in kitkat,
in later versions these definitions do no harm.
---
 Android.common.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Android.common.mk b/Android.common.mk
index 80cf572..1745b08 100644
--- a/Android.common.mk
+++ b/Android.common.mk
@@ -58,6 +58,8 @@ LOCAL_CFLAGS += \
        -DHAVE___BUILTIN_CLZ \
        -DHAVE___BUILTIN_CLZLL \
        -DHAVE___BUILTIN_UNREACHABLE \
+       -DHAVE___BUILTIN_FFS \
+       -DHAVE___BUILTIN_FFSLL \
        -DHAVE_PTHREAD=1 \
        -DHAVE_DLOPEN \
        -DTEXTURE_FLOAT_ENABLED \
-- 
2.9.3

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to