openssl: fix compile for coldfire
PATCH 1/1 openssl: fix compile for coldfire
For very big functions sep-data must be disabled.
See http://mailman.uclinux.org/pipermail/uclinux-dev/2006-January/036346.html
Fixes:
http://autobuild.buildroot.net/results/455fd0f274bfa4bbd786bcd6740ecf960e47c1bd/
Signed-off-by Waldemar Brodkorb <[email protected]>
--- package/openssl/openssl.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
package/openssl/openssl.mk +7 -1
@@ -12,13 +12,19 @@ OPENSSL_INSTALL_STAGING = YES OPENSSL_DEPENDENCIES = zlib HOST_OPENSSL_DEPENDENCIES = host-zlib OPENSSL_TARGET_ARCH = generic32 -OPENSSL_CFLAGS = $(TARGET_CFLAGS) OPENSSL_PATCH = \ https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-libs/openssl/files/openssl-1.0.2d-parallel-build.patch?id=c8abcbe8de5d3b6cdd68c162f398c011ff6e2d9d \ https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-libs/openssl/files/openssl-1.0.2a-parallel-obj-headers.patch?id=c8abcbe8de5d3b6cdd68c162f398c011ff6e2d9d \ https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-libs/openssl/files/openssl-1.0.2a-parallel-install-dirs.patch?id=c8abcbe8de5d3b6cdd68c162f398c011ff6e2d9d \ https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-libs/openssl/files/openssl-1.0.2a-parallel-symlinking.patch?id=c8abcbe8de5d3b6cdd68c162f398c011ff6e2d9d +# disable sep-data because of very big functions +ifeq ($(BR2_m68k),y) +OPENSSL_CFLAGS = $(filter-out -msep-data,$(TARGET_CFLAGS)) +else +OPENSSL_CFLAGS = $(TARGET_CFLAGS) +endif + ifeq ($(BR2_USE_MMU),) OPENSSL_CFLAGS += -DHAVE_FORK=0 endif
Signature · 1 line
2.1.4