mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 09:48:24 +02:00
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 <arne_f@ipfire.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
# #
|
# #
|
||||||
# IPFire.org - A linux based firewall #
|
# 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 #
|
# 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 #
|
# it under the terms of the GNU General Public License as published by #
|
||||||
@@ -52,12 +52,14 @@ CONFIGURE_OPTIONS = \
|
|||||||
no-aria \
|
no-aria \
|
||||||
$(OPENSSL_ARCH)
|
$(OPENSSL_ARCH)
|
||||||
|
|
||||||
OPENSSL_ARCH = linux-generic64
|
|
||||||
|
|
||||||
ifeq "$(BUILD_ARCH)" "aarch64"
|
ifeq "$(BUILD_ARCH)" "aarch64"
|
||||||
OPENSSL_ARCH = linux-aarch64
|
OPENSSL_ARCH = linux-aarch64
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq "$(BUILD_ARCH)" "riscv64"
|
||||||
|
OPENSSL_ARCH = linux64-riscv64
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq "$(BUILD_ARCH)" "x86_64"
|
ifeq "$(BUILD_ARCH)" "x86_64"
|
||||||
OPENSSL_ARCH = linux-x86_64
|
OPENSSL_ARCH = linux-x86_64
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user