mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 14:20:11 +01:00
targets/egl: Fix a warning with --disable-opengl build.
API_DEFINES is the defines for libmesagallium.a. Append it to egl_CPPFLAGS only when st_GL.so, which uses libmesagallium.a, is built.
This commit is contained in:
parent
1230050363
commit
52ef148923
1 changed files with 1 additions and 2 deletions
|
|
@ -54,9 +54,8 @@ egl_LIBS += $(TOP)/src/gallium/winsys/sw/fbdev/libfbdev.a
|
|||
endif
|
||||
|
||||
# EGL_RENDERABLE_TYPE is a compile time attribute
|
||||
egl_CPPFLAGS += $(API_DEFINES)
|
||||
ifneq ($(filter $(GL_LIB), $(EGL_CLIENT_APIS)),)
|
||||
egl_CPPFLAGS += -DFEATURE_GL=1
|
||||
egl_CPPFLAGS += $(API_DEFINES)
|
||||
endif
|
||||
ifneq ($(filter $(GLESv1_CM_LIB), $(EGL_CLIENT_APIS)),)
|
||||
egl_CPPFLAGS += -DFEATURE_ES1=1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue