summaryrefslogtreecommitdiff
path: root/lib/libGL/mesa/libmesa
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libGL/mesa/libmesa')
-rw-r--r--lib/libGL/mesa/libmesa/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libGL/mesa/libmesa/Makefile b/lib/libGL/mesa/libmesa/Makefile
index 0b0ce6367..feb130a67 100644
--- a/lib/libGL/mesa/libmesa/Makefile
+++ b/lib/libGL/mesa/libmesa/Makefile
@@ -1,9 +1,13 @@
-# $OpenBSD: Makefile,v 1.1 2012/08/26 18:46:42 mpi Exp $
+# $OpenBSD: Makefile,v 1.2 2013/09/05 15:12:09 jsg Exp $
LIB= mesa
+CFLAGS+= -std=c99
+
CPPFLAGS+= \
-I/usr/include/dev/pci/drm \
+ -I${.CURDIR}/../generated \
+ -I${.CURDIR}/../generated/main \
-DGLX_INDIRECT_RENDERING \
-DGLX_DIRECT_RENDERING \
-DUSE_EXTERNAL_DXTN_LIB=1 \