mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 13:47:48 +00:00
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>
This commit is contained in:
parent
c66d5c20cf
commit
b3869e933b
@ -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
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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.
|
||||
|
@ -52,6 +52,7 @@ config WANTS_STATIC_LINK
|
||||
config STATIC_TOOLCHAIN
|
||||
bool
|
||||
prompt "Build Static Toolchain"
|
||||
depends on CONFIGURE_has_static_link
|
||||
select WANTS_STATIC_LINK
|
||||
help
|
||||
Build static host binaries.
|
||||
|
Loading…
Reference in New Issue
Block a user