sparc needs big PIC

This commit is contained in:
miod 2015-04-22 17:31:47 +00:00
parent 2b01672b3b
commit c65edaf7e7

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1 2015/04/15 07:58:59 jsg Exp $
# $OpenBSD: Makefile,v 1.2 2015/04/22 17:31:47 miod Exp $
.include <bsd.xconf.mk>
EPOXY= ${.CURDIR}/../../dist/libepoxy
@ -57,6 +57,10 @@ obj: _xenocara_obj
.include <bsd.lib.mk>
.include <bsd.xorg.mk>
.if ${MACHINE_ARCH} == "sparc"
PICFLAG = -fPIC
.endif
epoxy.pc: ${EPOXY}/epoxy.pc.in Makefile
sed -e 's,@prefix@,$(X11BASE),' \
-e 's,@exec_prefix@,$(X11BASE),' \