pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/platform
Module Name: pkgsrc
Committed By: js
Date: Mon Dec 14 21:45:43 UTC 2020
Modified Files:
pkgsrc/mk/platform: NetBSD.mk
Log Message:
Allow PIE and RELRO on aarch64
I already compiled plenty of packages on my Pinebook Pro with both PIE and
RELRO enabled and have yet to see a build failure.
To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 pkgsrc/mk/platform/NetBSD.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/platform/NetBSD.mk
diff -u pkgsrc/mk/platform/NetBSD.mk:1.60 pkgsrc/mk/platform/NetBSD.mk:1.61
--- pkgsrc/mk/platform/NetBSD.mk:1.60 Sun Mar 22 21:17:30 2020
+++ pkgsrc/mk/platform/NetBSD.mk Mon Dec 14 21:45:43 2020
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.mk,v 1.60 2020/03/22 21:17:30 joerg Exp $
+# $NetBSD: NetBSD.mk,v 1.61 2020/12/14 21:45:43 js Exp $
#
# Variable definitions for the NetBSD operating system.
@@ -136,13 +136,15 @@ _OPSYS_SUPPORTS_FORTIFY=yes
# Register support for PIE on supported architectures (with GCC)
.if (${MACHINE_ARCH} == "i386") || \
- (${MACHINE_ARCH} == "x86_64")
+ (${MACHINE_ARCH} == "x86_64") || \
+ (${MACHINE_ARCH} == "aarch64")
_OPSYS_SUPPORTS_MKPIE= yes
.endif
# Register support for RELRO on supported architectures
.if (${MACHINE_ARCH} == "i386") || \
- (${MACHINE_ARCH} == "x86_64")
+ (${MACHINE_ARCH} == "x86_64") || \
+ (${MACHINE_ARCH} == "aarch64")
_OPSYS_SUPPORTS_RELRO= yes
.endif
Home |
Main Index |
Thread Index |
Old Index