From 0676a754f0508957f289eac5eda01091778cebc2 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 10 Jul 2019 16:21:32 +0300 Subject: [PATCH] rpmrc: update optflags for riscv64 Match other architectures by adding missing flags: -fasynchronous-unwind-tables -fstack-clash-protection This is already in Fedora/RISCV for 1+ year. Signed-off-by: David Abdurachmanov --- rpmrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpmrc b/rpmrc index 630c8c0..2e98e7a 100644 --- a/rpmrc +++ b/rpmrc @@ -76,7 +76,7 @@ optflags: s390x %{__global_compiler_flags} -m64 -march=zEC12 -mtune=z13 -fasynch optflags: aarch64 %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection -optflags: riscv64 %{__global_compiler_flags} +optflags: riscv64 %{__global_compiler_flags} -fasynchronous-unwind-tables -fstack-clash-protection # set build arch to fedora buildarches on hardware capable of running it # saves having to do rpmbuild --target=