Use -mxgot to build libepoxy on mips64 and mips64el.
ok visa@ who reported that mips64 is affected too.
This commit is contained in:
parent
cd6e03ffaf
commit
3b5f1cf2f4
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2018/05/25 06:24:59 matthieu Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2018/05/26 08:52:16 matthieu Exp $
|
||||
.include <bsd.xconf.mk>
|
||||
|
||||
EPOXY= ${.CURDIR}/../../dist/libepoxy
|
||||
@ -13,6 +13,10 @@ INCSDIR= ${X11BASE}/include/epoxy
|
||||
|
||||
CFLAGS+= -std=gnu99
|
||||
|
||||
.if ${MACHINE_ARCH} == "mips64el" || ${MACHINE_ARCH} == "mips64"
|
||||
PICFLAG+= -mxgot
|
||||
.endif
|
||||
|
||||
CPPFLAGS+= \
|
||||
-I${.CURDIR} \
|
||||
-I${.CURDIR}/generated/include \
|
||||
|
Loading…
Reference in New Issue
Block a user