From 81ab6a3fbd888812d02997b7f167907e7534ea1d Mon Sep 17 00:00:00 2001 From: Maksim Shabunin Date: Sun, 1 Sep 2024 20:59:57 +0300 Subject: [PATCH] RISC-V: fix installation process --- cmake/OpenCVCompilerOptimizations.cmake | 3 --- 1 file changed, 3 deletions(-) diff --git a/cmake/OpenCVCompilerOptimizations.cmake b/cmake/OpenCVCompilerOptimizations.cmake index 3b62a19c71..79fd4f40a2 100644 --- a/cmake/OpenCVCompilerOptimizations.cmake +++ b/cmake/OpenCVCompilerOptimizations.cmake @@ -423,9 +423,6 @@ elseif(RISCV) ocv_update(CPU_RVV_FLAGS_CONFLICT "-march=[^ ]*") - if(NOT ${BUILD_SHARED_LIBS}) # static build for k230 - add_extra_compiler_option("-static -static-libgcc -static-libstdc++") - endif() set(CPU_DISPATCH "FP16;RVV_ZVFH" CACHE STRING "${HELP_CPU_DISPATCH}") set(CPU_BASELINE "DETECT" CACHE STRING "${HELP_CPU_BASELINE}")