Remove -target riscv64-unknown-openbsd from CMACHFLAGS.
authorkevlo <kevlo@openbsd.org>
Wed, 12 Jan 2022 00:58:48 +0000 (00:58 +0000)
committerkevlo <kevlo@openbsd.org>
Wed, 12 Jan 2022 00:58:48 +0000 (00:58 +0000)
ok kettenis@ deraadt@

sys/arch/riscv64/conf/Makefile.riscv64

index 0972911..3f3336d 100644 (file)
@@ -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