summaryrefslogtreecommitdiff
path: root/lib/libGL/gallium/Makefile.inc
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-07-09 21:32:43 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-07-09 21:32:43 +0000
commit71677acfac74c6aeb8d69c7c477822d326256463 (patch)
tree741655380ecbd59a151e55a43b16481e7a0d4ad7 /lib/libGL/gallium/Makefile.inc
parent473dc96b5bfcd9b8163bba1931980c767d4e8a86 (diff)
Mesa 10.2.3
Diffstat (limited to 'lib/libGL/gallium/Makefile.inc')
-rw-r--r--lib/libGL/gallium/Makefile.inc15
1 files changed, 3 insertions, 12 deletions
diff --git a/lib/libGL/gallium/Makefile.inc b/lib/libGL/gallium/Makefile.inc
index 2b7e004b2..6ac5e4ea1 100644
--- a/lib/libGL/gallium/Makefile.inc
+++ b/lib/libGL/gallium/Makefile.inc
@@ -1,10 +1,6 @@
-# $OpenBSD: Makefile.inc,v 1.6 2014/04/20 10:58:20 jsg Exp $
+# $OpenBSD: Makefile.inc,v 1.7 2014/07/09 21:32:40 jsg Exp $
.include <bsd.xconf.mk>
-
-CPP= cpp -notraditional
-
-CFLAGS+= -std=c99
-CPPFLAGS+= -DPACKAGE_BUGREPORT=\"bugs@openbsd.org\"
+.include "../config.mk"
OBJS+= ${SRCS:N*.h:R:S/$/.so/g}
@@ -51,7 +47,7 @@ LDADD+= -L${LLVM_LIBDIR} ${LLVM_LIBS}
CPPFLAGS+= \
-DGALLIUM_LLVMPIPE \
- -DHAVE_LLVM=${LLVM_VERSION}
+ -DHAVE_LLVM=${LLVM_VERSION} -DLLVM_VERSION_PATCH=0
SWRAST_DRIVERS+= ../../gallium/drivers/llvmpipe/libllvmpipe_pic.a
@@ -59,8 +55,3 @@ SWRAST_DRIVERS+= ../../gallium/drivers/llvmpipe/libllvmpipe_pic.a
LOCALBASE?= /usr/local
LDADD+= ${LOCALBASE}/lib/libelf.a
.endif
-
-.if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "powerpc" || \
- ${MACHINE_ARCH} == "sparc"
-PICFLAG=-fPIC
-.endif