crosstool-ng/scripts
Yann E. MORIN" 9176074aec cc/gcc: disable complibs if not selected
Force gcc to not link with some companion libraries when
there are not needed (because selected-out).

There is no option to tell gcc *not* to build the Graphite and/or
LTO stuff. They *will* be built if gcc finds the suitable companion
libraries. If we do not provide them, but the host has them, then
gcc *will* find them, and link with them.

Consider the following:
- host has suitable PPL and CLooG (eg. Debian Squeeze)
- user wants to build gcc>=4.4
- user de-selects GRAPHITE
- gcc will find the hosts PPL and CLooG, and will use them
- the user moves the toolchain to an older host that does
  not have them (eg. Debian Lenny)
- the toolchain fails, when it was properly setup not to

So, explicitly tell gcc *not* to use unneeded companion libs.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-12 23:51:25 +02:00
..
build cc/gcc: disable complibs if not selected 2010-09-12 23:51:25 +02:00
addToolVersion.sh cc/gcc: add support for 4.5.0 or later versions 2010-04-15 22:35:18 +02:00
config.guess scripts: update config.{guess,sub} 2010-07-15 10:18:40 +02:00
config.sub scripts: update config.{guess,sub} 2010-07-15 10:18:40 +02:00
crosstool-NG.sh.in scripts: hack-in lib32->lib symlinks 2010-09-10 12:14:24 +02:00
functions scripts/log: do not interpret log string as printf format 2010-08-26 23:36:54 +02:00
mk-patch.sh scripts: better sanitise the patch names 2010-08-10 13:25:52 +02:00
mk-release.sh scripts: use 'hg archive' to create release tarballs 2010-07-17 11:31:57 +02:00
patch-renumber.sh scripts: be POSIXly correct in helper scripts 2009-11-12 18:42:13 +01:00
patch-rework.sh scripts: add a new helper script to easily rediff a patchset 2009-11-13 19:34:18 +01:00
populate.in scripts/populate: optimise search loop 2010-03-29 00:15:32 +02:00
saveSample.sh.in scripts/savesample: be silent when checking for .config file 2010-04-22 19:21:03 +02:00
scripts.mk scripts: some eye-candy 2009-10-30 20:08:44 +01:00
showSamples.sh scripts: misc help and auto-complete fixes 2010-04-02 00:18:26 +02:00
showTuple.sh.in Add a new action: show-tuple 2009-05-13 18:10:47 +00:00
toolchain-config.in Use tools discovered by ./configure in scripts/toolchain-config.in. 2009-02-01 18:51:19 +00:00
wrapper.c scripts/wrapper: fix wrong test when checking access to the reall tool 2010-06-22 23:49:23 +02:00
wrapper.in scripts/wrapper.in: Add a comment about readlink not being portable. 2010-05-17 12:27:32 +02:00
xldd.in scripts: add a cross-ldd-like 2010-07-22 23:26:08 +02:00