From: drahn Date: Thu, 29 Apr 2021 19:21:31 +0000 (+0000) Subject: riscv64 share/mk X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0f1536e80592afeedd46bd6be109e06280f63294;p=openbsd riscv64 share/mk Add riscv64 to the list of PIE/static PIE and clang architectures. --- 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})