From da4e2fc635f14d2b0964de8e1e8aeb4a1a34d1ec Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Fri, 5 Jan 2024 19:20:14 +0100 Subject: [PATCH] openssl: fix riscv build openssl 3.x need correct arch configuration or disable asm optimisation with no-asm config parameter. Signed-off-by: Arne Fitzenreiter --- lfs/openssl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lfs/openssl b/lfs/openssl index 75c268d905..2a9de717a5 100644 --- a/lfs/openssl +++ b/lfs/openssl @@ -1,7 +1,7 @@ ############################################################################### # # # IPFire.org - A linux based firewall # -# Copyright (C) 2007-2023 IPFire Team # +# Copyright (C) 2007-2024 IPFire Team # # # # This program is free software: you can redistribute it and/or modify # # it under the terms of the GNU General Public License as published by # @@ -52,12 +52,14 @@ CONFIGURE_OPTIONS = \ no-aria \ $(OPENSSL_ARCH) -OPENSSL_ARCH = linux-generic64 - ifeq "$(BUILD_ARCH)" "aarch64" OPENSSL_ARCH = linux-aarch64 endif +ifeq "$(BUILD_ARCH)" "riscv64" + OPENSSL_ARCH = linux64-riscv64 +endif + ifeq "$(BUILD_ARCH)" "x86_64" OPENSSL_ARCH = linux-x86_64 endif -- 2.39.5