diff options
author | tnn <tnn@pkgsrc.org> | 2021-10-12 13:46:14 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2021-10-12 13:46:14 +0000 |
commit | a26de774762f1a5f3ecd8d48539a61e77a647616 (patch) | |
tree | 22c9f570f3784fd9bebb2f1901364e4ffb906073 /lang/gcc10-libs | |
parent | 4a223b7758ae116eb1edca4c013193d384d8b30f (diff) | |
download | pkgsrc-a26de774762f1a5f3ecd8d48539a61e77a647616.tar.gz |
lang/gcc*: skip some RELRO checks when --disable-boostrap
This relates to the case when GCC is built using clang host CC. In that
case the runtime libraries are not built with RELRO for some reason.
for the gcc*-libs/ packages, mark them as RELRO_SUPPORTED=no unconditionally.
RELRO status depends on how the parent gcc package was built so we don't
need nor care about the RELRO status here.
Diffstat (limited to 'lang/gcc10-libs')
-rw-r--r-- | lang/gcc10-libs/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/gcc10-libs/Makefile b/lang/gcc10-libs/Makefile index a09d9e919e2..ce3ca870432 100644 --- a/lang/gcc10-libs/Makefile +++ b/lang/gcc10-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2021/04/16 15:03:42 ryoon Exp $ +# $NetBSD: Makefile,v 1.4 2021/10/12 13:46:14 tnn Exp $ GCC_PKGNAME= gcc10 .include "../../lang/${GCC_PKGNAME}/version.mk" @@ -22,8 +22,9 @@ LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND gnu-lgpl-v3 USE_TOOLS+= pax -NO_BUILD= yes -CHECK_SHLIBS= no +NO_BUILD= yes +CHECK_SHLIBS= no +RELRO_SUPPORTED= no ## Depend on exactly ${GCC10_DIST_VERSION}. BUILD_DEPENDS+= ${GCC_PKGNAME}-${GCC10_DIST_VERSION}{,nb[0-9]*}:../../lang/gcc10 |