parent
a7fc8ad140
commit
054656a2fc
@ -35,6 +35,11 @@ stdenv.mkDerivation rec {
|
|||||||
cd $out/libexec
|
cd $out/libexec
|
||||||
unzip -qq $src
|
unzip -qq $src
|
||||||
|
|
||||||
|
# Steps to reduce output size
|
||||||
|
rm -rf docs sources tests
|
||||||
|
# We only support cross compiling with gcc for now
|
||||||
|
rm -rf toolchains/*-clang* toolchains/llvm-*
|
||||||
|
|
||||||
patchShebangs ${pkg_path}
|
patchShebangs ${pkg_path}
|
||||||
|
|
||||||
# so that it doesn't fail because of read-only permissions set
|
# so that it doesn't fail because of read-only permissions set
|
||||||
|
@ -49,6 +49,11 @@ stdenv.mkDerivation rec {
|
|||||||
-d $out/libexec/${name} < ${ ./make-standalone-toolchain_r8e.patch }
|
-d $out/libexec/${name} < ${ ./make-standalone-toolchain_r8e.patch }
|
||||||
cd ${pkg_path}
|
cd ${pkg_path}
|
||||||
|
|
||||||
|
# Steps to reduce output size
|
||||||
|
rm -rf docs sources tests
|
||||||
|
# We only support cross compiling with gcc for now
|
||||||
|
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 \
|
||||||
\( -type f -a -perm -0100 \) \
|
\( -type f -a -perm -0100 \) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user