From b3869e933b29286fe362e68fbda3184acf655de8 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Fri, 26 Feb 2016 03:58:09 -0800 Subject: config: Add static link check to static options If we can't static link with gcc, then don't allow static linking. Signed-off-by: Bryan Hundven --- config/cc/gcc.in.2 | 1 + 1 file changed, 1 insertion(+) (limited to 'config/cc') diff --git a/config/cc/gcc.in.2 b/config/cc/gcc.in.2 index 50a0574f..17b41ccf 100644 --- a/config/cc/gcc.in.2 +++ b/config/cc/gcc.in.2 @@ -56,6 +56,7 @@ config CC_GCC_STATIC_LIBSTDCXX bool prompt "Link libstdc++ statically into the gcc binary" default y + depends on CONFIGURE_has_static_link select WANTS_STATIC_LINK help Newer gcc versions require some c++ libraries. So statically -- cgit v1.2.3