summaryrefslogtreecommitdiff
path: root/config/toolchain.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-03-30 06:13:08 (GMT)
committerGitHub <noreply@github.com>2017-03-30 06:13:08 (GMT)
commita7edff1820d89b45449c7764644fbfa3562e3297 (patch)
treeeee13dd4cd1ce0ba5215d1d6cfa6967e9fc3b22b /config/toolchain.in
parent54a4975220e6a277e93f7844bb79c2dbf5554d16 (diff)
parent6af04d822bdcd533ce731ba245f50bfbc22ed4a4 (diff)
Merge pull request #667 from stilor/cross-gdb-deps
cross-gdb: account for canadian/crossnative toolchains
Diffstat (limited to 'config/toolchain.in')
-rw-r--r--config/toolchain.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/toolchain.in b/config/toolchain.in
index 9d3ad18..c712f39 100644
--- a/config/toolchain.in
+++ b/config/toolchain.in
@@ -47,14 +47,18 @@ config SYSROOT_DIR_PREFIX
In fact, the sysroot path is constructed as:
${CT_PREFIX_DIR}/${CT_TARGET}/${CT_SYSROOT_DIR_PREFIX}/${CT_SYSROOT_NAME}
+# FIXME: the name is misleading, it is only checking if we want the build machine
+# to support static linking.
config WANTS_STATIC_LINK
bool
+config WANTS_STATIC_LINK_CXX
+ bool
config STATIC_TOOLCHAIN
bool
prompt "Build Static Toolchain"
depends on CONFIGURE_has_static_link
- select WANTS_STATIC_LINK
+ select WANTS_STATIC_LINK if NATIVE || CROSS
help
Build static host binaries.