]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
openssl: fix riscv build
authorArne Fitzenreiter <arne_f@ipfire.org>
Fri, 5 Jan 2024 18:20:14 +0000 (19:20 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 5 Jan 2024 18:20:14 +0000 (19:20 +0100)
openssl 3.x need correct arch configuration or disable
asm optimisation with no-asm config parameter.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
lfs/openssl

index 75c268d90524dc95d24787c8aedd16eace131f1f..2a9de717a5548e3e1c8e4f28847f5bfab8112b1b 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2023  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # 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