add defs and includes from Makefile.common to the build params

This commit is contained in:
Mats A 2019-07-23 20:23:54 +02:00
parent 2750997724
commit 9dadb313b5

View File

@ -133,6 +133,10 @@ ifeq ($(HAVE_OPENGL), 1)
LIBS := -lEGL -lglapi -ldrm_nouveau $(LIBS)
endif
# add things from Makefile.common
CFLAGS += $(DEF_FLAGS)
INCLUDES += $(INCLUDE_DIRS)
#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
# include and lib