Fix GOT overflow on mips64.

OK jasper@
This commit is contained in:
visa 2017-08-16 17:27:39 +00:00
parent 4cc0a1a00e
commit b54cfa4be5

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.17 2017/07/26 22:45:17 sthen Exp $
# $OpenBSD: Makefile,v 1.18 2017/08/16 17:27:39 visa Exp $
COMMENT = C++ unit test framework
@ -18,6 +18,10 @@ CATEGORIES = devel
HOMEPAGE = https://github.com/google/googletest
.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
CXXFLAGS += -mxgot
.endif
# New BSD
PERMIT_PACKAGE_CDROM = Yes