OSDN Git Service

tests/amdgpu: bypass VCE tests on raven
[android-x86/external-libdrm.git] / Android.common.mk
index f57b8d3..b45ca10 100644 (file)
@@ -1,11 +1,14 @@
 # XXX: Consider moving these to config.h analogous to autoconf.
 LOCAL_CFLAGS += \
+       -DMAJOR_IN_SYSMACROS=1 \
        -DHAVE_VISIBILITY=1 \
        -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
 
 LOCAL_CFLAGS += \
        -Wno-unused-parameter \
-       -Wno-missing-field-initializers
+       -Wno-missing-field-initializers \
+       -Wno-pointer-arith \
+       -Wno-enum-conversion
 
 # Quiet down the build system and remove any .h files from the sources
 LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))