From fe948f7ba6f565b939bd32ad43a647b86b7019f5 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Thu, 29 Apr 2021 19:21:32 +0000 Subject: riscv64 share/mk Add riscv64 to the list of PIE/static PIE and clang architectures. --- share/mk/bsd.own.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'share') diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 90a882887f6..08df12c8e9d 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.own.mk,v 1.207 2021/01/29 16:38:20 kettenis Exp $ +# $OpenBSD: bsd.own.mk,v 1.208 2021/04/29 19:21:31 drahn Exp $ # $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $ # Host-specific overrides @@ -15,18 +15,18 @@ SKEY?= yes # Set `YP' to `yes' to build with support for NIS/YP. YP?= yes -CLANG_ARCH=aarch64 amd64 arm i386 mips64 mips64el powerpc powerpc64 sparc64 +CLANG_ARCH=aarch64 amd64 arm i386 mips64 mips64el powerpc powerpc64 riscv64 sparc64 GCC4_ARCH=alpha hppa sh sparc64 GCC3_ARCH=m88k -LLD_ARCH=aarch64 amd64 arm i386 powerpc64 +LLD_ARCH=aarch64 amd64 arm i386 powerpc64 riscv64 .if ${MACHINE} == "sgi" GCC4_ARCH+=mips64 .endif # m88k: ? -PIE_ARCH=aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 sh sparc64 -STATICPIE_ARCH=aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 sh sparc64 +PIE_ARCH=aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 riscv64 sh sparc64 +STATICPIE_ARCH=aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 riscv64 sh sparc64 .for _arch in ${MACHINE_ARCH} .if !empty(GCC3_ARCH:M${_arch}) -- cgit v1.2.3