mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
openssl: Make package compile on all arches
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
27
lfs/openssl
27
lfs/openssl
@@ -61,22 +61,29 @@ CONFIGURE_OPTIONS = \
|
||||
no-mdc2 \
|
||||
no-rc5 \
|
||||
no-srp \
|
||||
-DSSL_FORBID_ENULL
|
||||
-DSSL_FORBID_ENULL \
|
||||
$(OPENSSL_ARCH)
|
||||
|
||||
ifeq "$(IS_64BIT)" "1"
|
||||
OPENSSL_ARCH = linux-generic64
|
||||
else
|
||||
OPENSSL_ARCH = linux-generic32
|
||||
endif
|
||||
|
||||
ifeq "$(BUILD_ARCH)" "aarch64"
|
||||
OPENSSL_ARCH = linux-aarch64
|
||||
endif
|
||||
|
||||
ifeq "$(BUILD_ARCH)" "x86_64"
|
||||
CONFIGURE_OPTIONS += linux-x86_64
|
||||
OPENSSL_ARCH = linux-x86_64
|
||||
endif
|
||||
|
||||
ifeq "$(BUILD_ARCH)" "i586"
|
||||
CONFIGURE_OPTIONS += linux-elf
|
||||
OPENSSL_ARCH = linux-elf
|
||||
|
||||
ifneq "$(KCFG)" "-sse2"
|
||||
CONFIGURE_OPTIONS += no-sse2
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq "$(BUILD_ARCH)" "armv5tel"
|
||||
CONFIGURE_OPTIONS += linux-generic32
|
||||
ifneq "$(KCFG)" "-sse2"
|
||||
OPENSSL_ARCH += no-sse2
|
||||
endif
|
||||
endif
|
||||
|
||||
###############################################################################
|
||||
|
||||
Reference in New Issue
Block a user