diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/Makefile | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/Makefile.template | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile index e4040881f1..44e091f240 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -16,6 +16,7 @@ include sources.mak .S.o: $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ +CFLAGS += $(API_DEFINES) # Default: build dependencies, then asm_subdirs, GLSL built-in lib, diff --git a/src/mesa/drivers/dri/Makefile.template b/src/mesa/drivers/dri/Makefile.template index 4cdd51efee..4b9a0c1786 100644 --- a/src/mesa/drivers/dri/Makefile.template +++ b/src/mesa/drivers/dri/Makefile.template @@ -31,6 +31,7 @@ SHARED_INCLUDES = \ -I$(TOP)/src/egl/drivers/dri \ $(LIBDRM_CFLAGS) +CFLAGS += $(API_DEFINES) ##### RULES ##### |