mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
openssl: fix compilation for i386
Closes #3445. OpenSSL emits bswap instructions when building for i386 targets which unfortunately is only available on 486+ class processors. Since the normal workaround is detected at build time and we are cross compiling we need to specify this. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
6bbd5367a5
commit
47736c88c3
@@ -39,6 +39,11 @@ ifeq ($(ARCH),x86_64)
|
||||
OPENSSL_TARGET_ARCH = x86_64
|
||||
endif
|
||||
|
||||
# Workaround for bug #3445
|
||||
ifeq ($(BR2_x86_i386),y)
|
||||
OPENSSL_TARGET_ARCH = generic32 386
|
||||
endif
|
||||
|
||||
define OPENSSL_CONFIGURE_CMDS
|
||||
(cd $(@D); \
|
||||
$(TARGET_CONFIGURE_ARGS) \
|
||||
|
||||
Reference in New Issue
Block a user