mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-28 21:30:16 +01:00
Currently only libdrm.so properly annotates its internal/private symbols. By setting the macro every binary produced will be in the same boat. This should give is smaller and more secure files Cc: Chih-Wei Huang <cwhuang@android-x86.org> Cc: Rob Herring <robh@kernel.org> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org>
7 lines
250 B
Makefile
7 lines
250 B
Makefile
LOCAL_CFLAGS += \
|
|
-DHAVE_VISIBILITY=1 \
|
|
-DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1
|
|
|
|
# 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)
|