[PATCH 2 of 3] config/toolchain: fix STATIC_TOOLCHAIN dependency CC_STATIC_LIBSTDCXX
Bryan Hundven
bryanhundven@gmail.com
Tue May 31 04:50:00 GMT 2011
config/cc/gcc.in.2 | 3 ---
config/toolchain.in | 2 +-
2 files changed, 1 insertions(+), 4 deletions(-)
# HG changeset patch
# User Bryan Hundven <bryanhundven@gmail.com>
# Date 1306816754 25200
# Node ID 7b85b812a8ca96b35863478389d05775d6f41170
# Parent efc71a7d3c02566982414f5fe5d57fa08a8eca40
config/toolchain: fix STATIC_TOOLCHAIN dependency CC_STATIC_LIBSTDCXX
STATIC_TOOLCHAIN needs to 'depend on' CC_STATIC_LIBSTDCXX, and not
'select' it. CC_STATIC_LIBSTDCXX knows to depend on CC_GCC_4_4_or_later,
so STATIC_TOOLCHAIN does not.
Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
diff -r efc71a7d3c02 -r 7b85b812a8ca config/cc/gcc.in.2
--- a/config/cc/gcc.in.2 Mon May 30 21:38:43 2011 -0700
+++ b/config/cc/gcc.in.2 Mon May 30 21:39:14 2011 -0700
@@ -57,9 +57,6 @@
if they are properly quoted (or escaped, but prefer quotes). Eg.:
--with-foo="1st arg with 4 spaces" --with-bar=2nd-arg-without-space
-config STATIC_TOOLCHAIN
- select CC_STATIC_LIBSTDCXX if CC_GCC_4_4_or_later
-
config CC_STATIC_LIBSTDCXX
bool
prompt "Link libstdc++ statically into the gcc binary"
diff -r efc71a7d3c02 -r 7b85b812a8ca config/toolchain.in
--- a/config/toolchain.in Mon May 30 21:38:43 2011 -0700
+++ b/config/toolchain.in Mon May 30 21:39:14 2011 -0700
@@ -50,7 +50,7 @@
config STATIC_TOOLCHAIN
bool
prompt "Build Static Toolchain (EXPERIMENTAL)"
- depends on EXPERIMENTAL
+ depends on EXPERIMENTAL && CC_STATIC_LIBSTDCXX
default n
help
Build static host binaries.
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list