diff options
author | Rob Herring <[email protected]> | 2016-06-07 18:27:34 -0500 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-06-13 15:31:29 +0100 |
commit | 112e988329b6af817b4892b530f703e7997b1d7d (patch) | |
tree | 453baa9443909013215e54357808f668a9cbcb17 /src/gallium/targets/dri | |
parent | 54e550ab8ad7ca5ebd24edbbb3f96e5412209ba9 (diff) |
Android: move libdrm settings to top-level Android.common.mk
Fix warnings like these due to HAVE_LIBDRM being inconsistently defined:
external/libdrm/include/drm/drm.h:839:30: warning: redefinition of typedef 'drm_clip_rect_t' is a C11 feature [-Wtypedef-redefinition]
typedef struct drm_clip_rect drm_clip_rect_t;
HAVE_LIBDRM needs to be set project wide to fix this. This change also
harmlessly links libdrm with everything, but simplifies the makefiles a
bit.
Signed-off-by: Rob Herring <[email protected]>
Acked-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/targets/dri')
-rw-r--r-- | src/gallium/targets/dri/Android.mk | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/targets/dri/Android.mk b/src/gallium/targets/dri/Android.mk index 7da0e8aabbb..24c4bfa4e36 100644 --- a/src/gallium/targets/dri/Android.mk +++ b/src/gallium/targets/dri/Android.mk @@ -43,11 +43,6 @@ LOCAL_SHARED_LIBRARIES := \ libglapi \ libexpat \ -ifneq ($(filter-out swrast,$(MESA_GPU_DRIVERS)),) -LOCAL_CFLAGS += -DHAVE_LIBDRM -LOCAL_SHARED_LIBRARIES += libdrm -endif - ifneq ($(filter freedreno,$(MESA_GPU_DRIVERS)),) LOCAL_CFLAGS += -DGALLIUM_FREEDRENO gallium_DRIVERS += libmesa_winsys_freedreno libmesa_pipe_freedreno |