- various cleanups and optimations
This commit is contained in:
Stephan Raue 2010-03-06 00:14:56 +01:00
parent b6a8745cb3
commit 880581266c
2 changed files with 16 additions and 2 deletions

View File

@ -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

View File

@ -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