summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-08 22:24:39 (GMT)
committerAndoni Morales Alastruey <ylatuya@gmail.com>2013-05-10 16:29:08 (GMT)
commitd6893a6a2a859674ce459096b61bef050c816fd9 (patch)
treea3c1688c6165a73603aa120d835dbe794e9c44c9
parente35b771d9cd52b2da35b10cba455c22bac0d138e (diff)
downloadcerbero-d6893a6a2a859674ce459096b61bef050c816fd9.tar.gz
cerbero-d6893a6a2a859674ce459096b61bef050c816fd9.tar.xz
toolchain: strip binaries for a smaller final tarball
-rw-r--r--recipes/toolchain/gcc.recipe1
-rw-r--r--recipes/toolchain/winpthreads.recipe1
2 files changed, 2 insertions, 0 deletions
diff --git a/recipes/toolchain/gcc.recipe b/recipes/toolchain/gcc.recipe
index b1e9338..8bac699 100644
--- a/recipes/toolchain/gcc.recipe
+++ b/recipes/toolchain/gcc.recipe
@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
supports_non_src_build = True
stype = SourceType.CUSTOM
deps = ['mingw-w64', 'winpthreads']
+ make_install = 'make install-strip'
files_bins = ['gcc', 'cpp', 'gcov', 'jcf-dump', 'c++', 'gcj', 'g++',
'gcc-4.7.3', 'gfortran']
diff --git a/recipes/toolchain/winpthreads.recipe b/recipes/toolchain/winpthreads.recipe
index 5623e93..a109f5a 100644
--- a/recipes/toolchain/winpthreads.recipe
+++ b/recipes/toolchain/winpthreads.recipe
@@ -7,6 +7,7 @@ class Recipe(recipe.Recipe):
add_host_build_target = False
autoreconf = True
allow_parallel_build = False
+ make_install = 'make install-strip'
files_all = [
'bin/libwinpthread-1.dll',
'lib/libpthread.a',