summaryrefslogtreecommitdiff
path: root/config/cc/gcc.in.2
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-12-31 15:23:27 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-12-31 15:23:27 (GMT)
commit92744ca68f2aeee36a62611d85adb50bb0b6530b (patch)
tree0d2cf98ffb3aa49ada4984ea2f0bcf834a9e7763 /config/cc/gcc.in.2
parent13a05a472080b90b252385cb1ab88aca84dd704c (diff)
cc/gcc: add option to use system zlib
In some cases, it might be desirable to use the system zlib Eg. because latest gcc seem to be totally borked when it comes to multilib, and tries to build a multilib host zlib, when it is *absolutely* *not* needed: we want mulitlib on the target, not on the host! Sigh... :-( Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config/cc/gcc.in.2')
-rw-r--r--config/cc/gcc.in.213
1 files changed, 13 insertions, 0 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
index 35a1070..41f2be1 100644
--- a/config/cc/gcc.in.2
+++ b/config/cc/gcc.in.2
@@ -53,6 +53,19 @@ config CC_STATIC_LIBSTDCXX
having to worry about distributing the matching version of libstdc++
along with it.
+config CC_GCC_SYSTEM_ZLIB
+ bool
+ prompt "Use system zlib"
+ depends on EXPERIMENTAL
+ help
+ Do not use bundled zlib, and use the zlib already available for
+ the host (eg. the system library).
+
+ If you want to build a static toolchain, you will need to also
+ install the static version of zlib for your host.
+
+ If unsure, say 'n'.
+
#-----------------------------------------------------------------------------
# Optimisation features