diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2016-02-26 03:58:09 -0800 |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2016-02-26 04:14:39 -0800 |
commit | b3869e933b29286fe362e68fbda3184acf655de8 (patch) | |
tree | e3e960761bbe488b0d7a9f0ae4c1a6148656d5be /config/debug | |
parent | c66d5c20cf78b6ab144e77788eedcaecb17e2e6f (diff) | |
download | crosstool-ng-b3869e933b29286fe362e68fbda3184acf655de8.tar.gz crosstool-ng-b3869e933b29286fe362e68fbda3184acf655de8.tar.bz2 crosstool-ng-b3869e933b29286fe362e68fbda3184acf655de8.zip |
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 <bryanhundven@gmail.com>
Diffstat (limited to 'config/debug')
-rw-r--r-- | config/debug/gdb.in.cross | 1 | ||||
-rw-r--r-- | config/debug/gdb.in.gdbserver | 1 | ||||
-rw-r--r-- | config/debug/gdb.in.native | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross index 99c9825e..07b85b85 100644 --- a/config/debug/gdb.in.cross +++ b/config/debug/gdb.in.cross @@ -18,6 +18,7 @@ if GDB_CROSS config GDB_CROSS_STATIC bool prompt "Build a static cross gdb" + depends on CONFIGURE_has_static_link select WANTS_STATIC_LINK help A static cross gdb can be usefull if you debug on a machine that is diff --git a/config/debug/gdb.in.gdbserver b/config/debug/gdb.in.gdbserver index 50c3b8bd..8d8fce5b 100644 --- a/config/debug/gdb.in.gdbserver +++ b/config/debug/gdb.in.gdbserver @@ -17,6 +17,7 @@ config GDB_GDBSERVER_HAS_IPA_LIB config GDB_GDBSERVER_STATIC bool prompt "Build a static gdbserver" + depends on CONFIGURE_has_static_link default y help In case you have trouble with dynamic loading of shared libraries, diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native index 1861506b..915debd8 100644 --- a/config/debug/gdb.in.native +++ b/config/debug/gdb.in.native @@ -15,6 +15,7 @@ if GDB_NATIVE config GDB_NATIVE_STATIC bool prompt "Build a static native gdb" + depends on CONFIGURE_has_static_link help In case you have trouble with dynamic loading of shared libraries, you will find that a static gdb comes in handy. |