mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
openssl:
- various cleanups and optimations
This commit is contained in:
parent
b6a8745cb3
commit
880581266c
@ -23,7 +23,21 @@ case $TARGET_ARCH in
|
||||
esac
|
||||
|
||||
cd $PKG_BUILD
|
||||
./Configure zlib-dynamic threads shared no-idea no-mdc2 no-rc5 no-krb5 --prefix=/usr $TARGET
|
||||
./Configure \
|
||||
--prefix=/usr \
|
||||
zlib-dynamic \
|
||||
threads \
|
||||
shared \
|
||||
no-idea \
|
||||
no-mdc2 \
|
||||
no-rc5 \
|
||||
no-krb5 \
|
||||
$TARGET
|
||||
|
||||
$SED -i -e "s:-march=[-a-z0-9] ::" \
|
||||
-e "s:-mcpu=[-a-z0-9] ::g" \
|
||||
-e "s:-O[0-9]:$CFLAGS:" Makefile
|
||||
|
||||
make CC=$CC LD=$LD RANLIB=$RANLIB all build-shared
|
||||
make CC=$CC LD=$LD RANLIB=$RANLIB do_linux-shared
|
||||
make CC=$CC LD=$LD RANLIB=$RANLIB INSTALL_PREFIX=$SYSROOT_PREFIX install_sw
|
||||
|
@ -9,4 +9,4 @@ mkdir -p $INSTALL/usr/lib
|
||||
cp -P $PKG_BUILD/libssl.so* $INSTALL/usr/lib
|
||||
|
||||
mkdir -p $INSTALL/usr/lib/ssl/engines
|
||||
cp -P $PKG_BUILD/engines/*.so $INSTALL/usr/lib/ssl/engines
|
||||
cp -P $PKG_BUILD/engines/*.so $INSTALL/usr/lib/ssl/engines
|
||||
|
Loading…
x
Reference in New Issue
Block a user