Fix GOT overflow on mips64.
OK bcallah@
This commit is contained in:
parent
cdd1a3f32c
commit
48fbb63327
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.53 2020/02/08 14:26:36 bcallah Exp $
|
||||
# $OpenBSD: Makefile,v 1.54 2020/07/27 15:49:28 visa Exp $
|
||||
|
||||
BROKEN-hppa = ICE on moc_qtsingleapplication.cxx
|
||||
|
||||
@ -53,6 +53,10 @@ CONFIGURE_ARGS =-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
|
||||
-DBUILD_CRASH_REPORTER=OFF \
|
||||
-DBUILD_TELEMETRY_MODULE=OFF
|
||||
|
||||
.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
|
||||
CXXFLAGS += -mxgot
|
||||
.endif
|
||||
|
||||
NO_TEST = Yes
|
||||
MAJ_MIN = ${V:C/^([0-9]+\.[0-9]+).*/\1/}
|
||||
SUBST_VARS += MAJ_MIN
|
||||
|
Loading…
Reference in New Issue
Block a user