summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/cc/gcc.in.212
1 files changed, 12 insertions, 0 deletions
diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2
index d682769..cfef3f1 100644
--- a/config/cc/gcc.in.2
+++ b/config/cc/gcc.in.2
@@ -7,6 +7,18 @@ config CC_GCC_ENABLE_TARGET_OPTSPACE
This will compile crossgcc's libs with -Os.
+config CC_STATIC_LIBSTDCXX
+ bool
+ prompt "Link libstdc++ statically into the gcc binary"
+ default y
+ depends on CC_GCC_4_4_or_later
+ help
+ Newer gcc versions use the PPL library which is C++ code. Statically
+ linking libstdc++ increases the likeliness that the gcc binary will
+ run on machines other than the one which it was built on, without
+ having to worry about distributing the matching version of libstdc++
+ along with it.
+
comment "Misc. obscure options."
config CC_CXA_ATEXIT