summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2022-01-12 00:58:49 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2022-01-12 00:58:49 +0000
commit804ec431efae37dec12db68975abea625b5d171a (patch)
treee4961724cac498855b1069e7f990babd9174899a /sys
parent94e853fb76fcb3425f19a89442b8cdaa562953a6 (diff)
Remove -target riscv64-unknown-openbsd from CMACHFLAGS.
ok kettenis@ deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/riscv64/conf/Makefile.riscv643
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/riscv64/conf/Makefile.riscv64 b/sys/arch/riscv64/conf/Makefile.riscv64
index 0972911c51e..3f3336d0559 100644
--- a/sys/arch/riscv64/conf/Makefile.riscv64
+++ b/sys/arch/riscv64/conf/Makefile.riscv64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.riscv64,v 1.14 2021/12/17 14:59:22 patrick Exp $
+# $OpenBSD: Makefile.riscv64,v 1.15 2022/01/12 00:58:48 kevlo Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -34,7 +34,6 @@ CWARNFLAGS= -Werror -Wall -Wimplicit-function-declaration \
CMACHFLAGS= -march=rv64gc -mcmodel=medany -mno-relax \
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
CMACHFLAGS+= -ffreestanding ${NOPIE_FLAGS}
-CMACHFLAGS+= -target riscv64-unknown-openbsd
SORTR= sort -R
.if ${IDENT:M-DNO_PROPOLICE}
CMACHFLAGS+= -fno-stack-protector