From 118a6a5f98d09f0d537350a36cf7c37e2d1bf9b1 Mon Sep 17 00:00:00 2001 From: "Bryan Hundven\"" Date: Thu, 9 Dec 2010 18:55:42 +0100 Subject: cc/gcc: build final gcc statically If the global static option is set, then build the final gcc statically. Signed-off-by: "Bryan Hundven" Signed-off-by: "Yann E. MORIN" --- config/cc/gcc.in.2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/cc') diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2 index a87b3888..9e08689a 100644 --- a/config/cc/gcc.in.2 +++ b/config/cc/gcc.in.2 @@ -36,6 +36,9 @@ config CC_GCC_USE_LTO This will require the libelf companion library, and it wil be build automatically for you. +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" -- cgit v1.2.3