diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2021-04-29 19:21:32 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2021-04-29 19:21:32 +0000 |
commit | fe948f7ba6f565b939bd32ad43a647b86b7019f5 (patch) | |
tree | 5c0f733c2b5376030d722eafb82c8a11d7ebb6a2 /share | |
parent | f6c40e43b1f2a9a2c5e55f35eeaae0acc4e5711d (diff) |
riscv64 share/mk
Add riscv64 to the list of PIE/static PIE and clang architectures.
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.own.mk | 10 |
1 files changed, 5 insertions, 5 deletions
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}) |