erlang: seems incompatible with PIE (unfortunately)
This commit is contained in:
parent
9499c23378
commit
76ca95844f
2 changed files with 10 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.107 2021/05/24 19:52:30 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.108 2021/10/07 22:40:58 nia Exp $
|
||||
|
||||
DISTNAME= erlang-${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}${!empty(DIST_VERSION_PATCH):?.:}${DIST_VERSION_PATCH}
|
||||
PKGNAME= ${DISTNAME:S/OTP-/erlang-/}
|
||||
|
@ -19,6 +19,10 @@ WRKSRC= ${WRKDIR}/otp-${GITHUB_TAG}
|
|||
GNU_CONFIGURE= yes
|
||||
USE_TOOLS+= autoconf awk gmake perl:run flex
|
||||
|
||||
# "This run-time was supposed be compiled with all code below 2Gb,
|
||||
# but the instruction 'allocate_tt' is located at 00000001c586f34c."
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if !empty(MACHINE_ARCH:M*armv6*) || !empty(MACHINE_ARCH:M*armv7*)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.2 2021/05/24 19:52:30 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2021/10/07 22:40:59 nia Exp $
|
||||
|
||||
DISTNAME= OTP-${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}${!empty(DIST_VERSION_PATCH):?.:}${DIST_VERSION_PATCH}
|
||||
PKGNAME= ${DISTNAME:S/OTP-/erlang21-/}
|
||||
|
@ -25,6 +25,10 @@ CONFIGURE_ARGS+= --with-ssl=${BUILDLINK_PREFIX.openssl}
|
|||
PTHREAD_OPTS+= require native
|
||||
CONFIGURE_ARGS+= --enable-threads
|
||||
|
||||
# "This run-time was supposed be compiled with all code below 2Gb,
|
||||
# but the instruction 'allocate_tt' is located at 00000001c586f34c."
|
||||
MKPIE_SUPPORTED= no
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
MAKE_ENV+= DESTDIR=${DESTDIR}
|
||||
|
|
Loading…
Reference in a new issue