OSDN Git Service

modetest: add and use bo_fb_create() helper
[android-x86/external-libdrm.git] / Android.common.mk
index d487acb..37c2b23 100644 (file)
@@ -1,10 +1,15 @@
 # XXX: Consider moving these to config.h analogous to autoconf.
 LOCAL_CFLAGS += \
        -DMAJOR_IN_SYSMACROS=1 \
+       -DHAVE_ALLOCA_H=0 \
+       -DHAVE_SYS_SELECT_H=0 \
+       -DHAVE_SYS_SYSCTL_H=0 \
        -DHAVE_VISIBILITY=1 \
+       -fvisibility=hidden \
        -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
 
 LOCAL_CFLAGS += \
+       -Wno-error \
        -Wno-unused-parameter \
        -Wno-missing-field-initializers \
        -Wno-pointer-arith \