From 71677acfac74c6aeb8d69c7c477822d326256463 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 9 Jul 2014 21:32:43 +0000 Subject: Mesa 10.2.3 --- lib/libGL/gallium/Makefile.inc | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'lib/libGL/gallium/Makefile.inc') 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 - -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 -- cgit v1.2.3