mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
package/libopenssl: set no-asm with generic architectures
Use no-asm when building with generic architectures such as gcc or
linux-generic32, see https://github.com/openssl/openssl/issues/9839
This will fix a static build failure on x86_64 due to the removal of
x86/x86_64 BSAES and AES_ASM support by
87bea6550a
Fixes:
- http://autobuild.buildroot.org/results/e4f04bb13ec1b82b73db645bea4933e52bca4185
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
503fd718c7
commit
027c02660b
@ -12,7 +12,9 @@ LIBOPENSSL_LICENSE_FILES = LICENSE
|
|||||||
LIBOPENSSL_INSTALL_STAGING = YES
|
LIBOPENSSL_INSTALL_STAGING = YES
|
||||||
LIBOPENSSL_DEPENDENCIES = zlib
|
LIBOPENSSL_DEPENDENCIES = zlib
|
||||||
HOST_LIBOPENSSL_DEPENDENCIES = host-zlib
|
HOST_LIBOPENSSL_DEPENDENCIES = host-zlib
|
||||||
LIBOPENSSL_TARGET_ARCH = linux-generic32
|
# no-asm is needed with generic architectures such as linux-generic32, see
|
||||||
|
# https://github.com/openssl/openssl/issues/9839
|
||||||
|
LIBOPENSSL_TARGET_ARCH = linux-generic32 no-asm
|
||||||
LIBOPENSSL_CFLAGS = $(TARGET_CFLAGS)
|
LIBOPENSSL_CFLAGS = $(TARGET_CFLAGS)
|
||||||
LIBOPENSSL_PROVIDES = openssl
|
LIBOPENSSL_PROVIDES = openssl
|
||||||
|
|
||||||
@ -55,7 +57,9 @@ endif
|
|||||||
|
|
||||||
ifeq ($(BR2_STATIC_LIBS),y)
|
ifeq ($(BR2_STATIC_LIBS),y)
|
||||||
# Use "gcc" minimalistic target to disable DSO
|
# Use "gcc" minimalistic target to disable DSO
|
||||||
LIBOPENSSL_TARGET_ARCH = gcc
|
# no-asm is needed with generic architectures such as gcc, see
|
||||||
|
# https://github.com/openssl/openssl/issues/9839
|
||||||
|
LIBOPENSSL_TARGET_ARCH = gcc no-asm
|
||||||
else
|
else
|
||||||
# Some architectures are optimized in OpenSSL
|
# Some architectures are optimized in OpenSSL
|
||||||
# Doesn't work for thumb-only (Cortex-M?)
|
# Doesn't work for thumb-only (Cortex-M?)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user