mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 02:20:15 +01:00
Combined with -Wundef (added in75758d2ccf& enforced inba17673eed), this provides absolute safety against #ifdef typos. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
22 lines
605 B
Makefile
22 lines
605 B
Makefile
# 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 \
|
|
-Wno-enum-conversion
|
|
|
|
# Quiet down the build system and remove any .h files from the sources
|
|
LOCAL_SRC_FILES := $(patsubst %.h, , $(LOCAL_SRC_FILES))
|
|
LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)
|
|
|
|
LOCAL_PROPRIETARY_MODULE := true
|