Commit d0b63b65 authored by Sumit Semwal's avatar Sumit Semwal Committed by Rob Herring define HAVE_TIMESPEC_GET

This is a forward port of a patch from the AOSP/master tree:

Since added
timespec_get() to bionic, mesa3d doesn't build due to redefinition
of timespec_get().

Avoid redefinition by defining HAVE_TIMESPEC_GET flag.

Test: build and boot tested db820c to UI.

Change-Id: I3dcc8034b48785e45cd3fa50e4d9cf2c684694a0
Cc: Rob Herring <>
Cc: Alistair Strachan <>
Cc: Marissa Wall <>
Cc: Sumit Semwal <>
Cc: Emil Velikov <>
Cc: Rob Clark <>
Reviewed-by: default avatarEmil Velikov <>
Signed-off-by: Sumit Semwal's avatarSumit Semwal <>
Signed-off-by: John Stultz's avatarJohn Stultz <>
Signed-off-by: Rob Herring's avatarRob Herring <>
parent dc030d1e
......@@ -89,6 +89,13 @@ LOCAL_CPPFLAGS += \
# c11 timespec_get is part of bionic as well
# This means releases from P and earlier won't need this
ifeq ($(filter 5 6 7 8 9, $(MESA_ANDROID_MAJOR_VERSION)),)
ifeq ($(strip $(MESA_ENABLE_ASM)),true)
ifeq ($(TARGET_ARCH),x86)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment