summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-07-17 13:53:24 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-07-17 13:53:24 +0000
commit434f40551fefc423661c32719d5797b654ad1f99 (patch)
tree624d11f34f5435957f6c2f594b9a4d7cfe460fc3
parent7e4918c64d0bf5f087985596edffdfa2f07a8b9d (diff)
use CPPFLAGS instead of CFLAGS for additional defines/includes
-rw-r--r--lib/libGL/dri/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libGL/dri/Makefile.inc b/lib/libGL/dri/Makefile.inc
index 06739ce77..cb654c8ee 100644
--- a/lib/libGL/dri/Makefile.inc
+++ b/lib/libGL/dri/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.19 2014/07/09 21:32:40 jsg Exp $
+# $OpenBSD: Makefile.inc,v 1.20 2014/07/17 13:53:23 jsg Exp $
.include <bsd.xconf.mk>
.include "../config.mk"
@@ -20,7 +20,7 @@ COMMON_SOURCES = $(COMMON_GALLIUM_SOURCES) \
meta.c \
megadriver_stub.c
-CFLAGS+= -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING \
+CPPFLAGS+= -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING \
$(INCLUDES) $(DRIVER_DEFINES)
INCLUDES = \