diff options
author | wiz <wiz@pkgsrc.org> | 2019-01-09 13:19:03 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2019-01-09 13:19:03 +0000 |
commit | 05a5c8debd3d1303c2995617d0b31b772c7a9bf2 (patch) | |
tree | 770f31240d274a3c7a284ea37c019109af6913c3 /mk/platform | |
parent | 3993f829a0954b08f82f3fbbe66bad6e2614bfdb (diff) | |
download | pkgsrc-05a5c8debd3d1303c2995617d0b31b772c7a9bf2.tar.gz |
Add RELRO support for clang, based on the gcc logic.
Diffstat (limited to 'mk/platform')
-rw-r--r-- | mk/platform/Linux.mk | 4 | ||||
-rw-r--r-- | mk/platform/NetBSD.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mk/platform/Linux.mk b/mk/platform/Linux.mk index dc496560235..17f87a5724e 100644 --- a/mk/platform/Linux.mk +++ b/mk/platform/Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: Linux.mk,v 1.78 2017/11/21 19:16:47 bsiegert Exp $ +# $NetBSD: Linux.mk,v 1.79 2019/01/09 13:19:03 wiz Exp $ # # Variable definitions for the Linux operating system. @@ -131,7 +131,7 @@ _OPSYS_MAX_CMDLEN_CMD?= /usr/bin/getconf ARG_MAX _OPSYS_SUPPORTS_FORTIFY=yes .endif -# Register support for RELRO on supported architectures (with GCC) +# Register support for RELRO on supported architectures .if (${MACHINE_ARCH} == "i386") || \ (${MACHINE_ARCH} == "x86_64") _OPSYS_SUPPORTS_RELRO= yes diff --git a/mk/platform/NetBSD.mk b/mk/platform/NetBSD.mk index 5c714d2b2d2..9673a62e3ea 100644 --- a/mk/platform/NetBSD.mk +++ b/mk/platform/NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: NetBSD.mk,v 1.57 2017/11/12 13:34:14 khorben Exp $ +# $NetBSD: NetBSD.mk,v 1.58 2019/01/09 13:19:03 wiz Exp $ # # Variable definitions for the NetBSD operating system. @@ -136,7 +136,7 @@ _OPSYS_SUPPORTS_FORTIFY=yes _OPSYS_SUPPORTS_MKPIE= yes .endif -# Register support for RELRO on supported architectures (with GCC) +# Register support for RELRO on supported architectures .if (${MACHINE_ARCH} == "i386") || \ (${MACHINE_ARCH} == "x86_64") _OPSYS_SUPPORTS_RELRO= yes |