[Mesa-dev] [PATCH 03/12] android: define HAVE___BUILTIN_{FFS, FFSLL}
Mauro Rossi
issor.oruam at gmail.com
Tue Jan 10 00:52:59 UTC 2017
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
More information about the mesa-dev
mailing list