android: more output size reduction
This should bring us finally under the 2G max. llvm directory was missing from my last commit.
This commit is contained in:
parent
e1e9b197f9
commit
37aab4cbb5
@ -56,9 +56,9 @@ stdenv.mkDerivation rec {
|
|||||||
cd ${pkg_path}
|
cd ${pkg_path}
|
||||||
|
|
||||||
# Steps to reduce output size
|
# Steps to reduce output size
|
||||||
rm -rf ${pkg_path}/docs ${pkg_path}/sources ${pkg_path}/tests
|
rm -rf docs sources tests
|
||||||
# We only support cross compiling with gcc for now
|
# We only support cross compiling with gcc for now
|
||||||
rm -rf ${pkg_path}/toolchains/*-clang* ${pkg_path}/toolchains/llvm-*
|
rm -rf toolchains/*-clang* toolchains/llvm*
|
||||||
|
|
||||||
find ${pkg_path}/toolchains \( \
|
find ${pkg_path}/toolchains \( \
|
||||||
\( -type f -a -name "*.so*" \) -o \
|
\( -type f -a -name "*.so*" \) -o \
|
||||||
|
Loading…
Reference in New Issue
Block a user