mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
openssl:
- dont use linker plugin (gcc bug 42453) - update to openssl-1.0.0a - use /lib as libdir also on 64bit build - dont build with ec* support
This commit is contained in:
parent
483c0ad70d
commit
8c35e570ce
@ -5,6 +5,10 @@
|
|||||||
$SCRIPTS/build toolchain
|
$SCRIPTS/build toolchain
|
||||||
$SCRIPTS/build zlib
|
$SCRIPTS/build zlib
|
||||||
|
|
||||||
|
# Suffers from bug 42453 <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42453>.
|
||||||
|
CFLAGS=`echo $CFLAGS | sed -e "s|-fuse-linker-plugin||"`
|
||||||
|
LDFLAGS=`echo $LDFLAGS | sed -e "s|-fuse-linker-plugin||"`
|
||||||
|
|
||||||
export MAKEFLAGS=-j1
|
export MAKEFLAGS=-j1
|
||||||
|
|
||||||
case $TARGET_ARCH in
|
case $TARGET_ARCH in
|
||||||
@ -32,12 +36,15 @@ cd $PKG_BUILD
|
|||||||
no-mdc2 \
|
no-mdc2 \
|
||||||
no-rc5 \
|
no-rc5 \
|
||||||
no-krb5 \
|
no-krb5 \
|
||||||
|
no-ec \
|
||||||
|
no-ecdh \
|
||||||
|
no-ecdsa \
|
||||||
$TARGET
|
$TARGET
|
||||||
|
|
||||||
$SED -i -e "s:-march=[-a-z0-9] ::" \
|
$SED -i -e "s:-march=[-a-z0-9] ::" \
|
||||||
-e "s:-mcpu=[-a-z0-9] ::g" \
|
-e "s:-mcpu=[-a-z0-9] ::g" \
|
||||||
-e "s:-O[0-9]:$CFLAGS:" Makefile
|
-e "s:-O[0-9]:$CFLAGS:" Makefile
|
||||||
|
|
||||||
make CC=$CC LD=$LD RANLIB=$RANLIB all build-shared
|
make CC=$CC LD=$LD RANLIB=$RANLIB LIBDIR=lib all build-shared
|
||||||
make CC=$CC LD=$LD RANLIB=$RANLIB do_linux-shared
|
make CC=$CC LD=$LD RANLIB=$RANLIB LIBDIR=lib do_linux-shared
|
||||||
make CC=$CC LD=$LD RANLIB=$RANLIB INSTALL_PREFIX=$SYSROOT_PREFIX install_sw
|
make CC=$CC LD=$LD RANLIB=$RANLIB LIBDIR=lib INSTALL_PREFIX=$SYSROOT_PREFIX install_sw
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
Dont waste time building manpages if we're not going to use em.
|
|
||||||
|
|
||||||
--- openssl/Makefile.org
|
|
||||||
+++ openssl/Makefile.org
|
|
||||||
@@ -792,7 +792,7 @@
|
|
||||||
dist_pem_h:
|
|
||||||
(cd crypto/pem; $(MAKE) CC='${CC}' SDIRS='${SDIRS}' CFLAG='${CFLAG}' pem.h; $(MAKE) clean)
|
|
||||||
|
|
||||||
-install: all install_docs install_sw
|
|
||||||
+install: all install_sw
|
|
||||||
|
|
||||||
install_sw:
|
|
||||||
@$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \
|
|
@ -1,19 +0,0 @@
|
|||||||
[patch]: bss_file.c: don't force largefile mode
|
|
||||||
---
|
|
||||||
crypto/bio/bss_file.c | 3 ---
|
|
||||||
1 file changed, 3 deletions(-)
|
|
||||||
|
|
||||||
Index: openssl-0.9.8g/crypto/bio/bss_file.c
|
|
||||||
===================================================================
|
|
||||||
--- openssl-0.9.8g.orig/crypto/bio/bss_file.c
|
|
||||||
+++ openssl-0.9.8g/crypto/bio/bss_file.c
|
|
||||||
@@ -78,9 +78,6 @@
|
|
||||||
* sequential access of large files without extra "magic" comprise *BSD,
|
|
||||||
* Darwin, IRIX...
|
|
||||||
*/
|
|
||||||
-#ifndef _FILE_OFFSET_BITS
|
|
||||||
-#define _FILE_OFFSET_BITS 64
|
|
||||||
-#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdio.h>
|
|
@ -1,12 +0,0 @@
|
|||||||
diff -Nura openssl-0.9.8k/Makefile.org openssl-0.9.8k.nofips/Makefile.org
|
|
||||||
--- openssl-0.9.8k/Makefile.org 2009-03-03 20:40:29.000000000 -0200
|
|
||||||
+++ openssl-0.9.8k.nofips/Makefile.org 2009-03-26 09:50:27.000000000 -0300
|
|
||||||
@@ -131,7 +131,7 @@
|
|
||||||
|
|
||||||
BASEADDR=
|
|
||||||
|
|
||||||
-DIRS= crypto fips ssl engines apps test tools
|
|
||||||
+DIRS= crypto ssl engines apps test tools
|
|
||||||
SHLIBDIRS= crypto ssl fips
|
|
||||||
|
|
||||||
# dirs in crypto to build
|
|
@ -1 +1 @@
|
|||||||
http://openssl.org/source/openssl-0.9.8m.tar.gz
|
http://www.openssl.org/source/openssl-1.0.0a.tar.gz
|
Loading…
x
Reference in New Issue
Block a user