mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 06:59:51 +00:00
5caa181b17
for coping libc.a, libpthread.a and libstdc++ to target. Add config option to eliminate need for -lstdc++ and -lgcc_pic switches when linking statically Signed-off-by: Noble Pepper <noblepepper@gmail.com>
35 lines
943 B
Plaintext
35 lines
943 B
Plaintext
# gcc library configuration
|
|
menu "Libraries"
|
|
depends on PACKAGE_gcc
|
|
config INCLUDE_STATIC_LIBC
|
|
bool "Include static libc on target"
|
|
help
|
|
Copies libc.a to target device
|
|
Increases the size of an already
|
|
very large package
|
|
default n
|
|
config INCLUDE_STATIC_LIBPTHREAD
|
|
bool "Include static libptread on target"
|
|
help
|
|
Copies libpthread.a to target device
|
|
Increases the size of an already
|
|
very large package
|
|
default n
|
|
config INCLUDE_STATIC_LIBSTDC
|
|
bool "Include static libstdc++ on target"
|
|
help
|
|
Copies libstdc++.a to target device
|
|
Increases the size of an already
|
|
very large package
|
|
default n
|
|
config INCLUDE_STATIC_LINK_SPEC
|
|
depends on INCLUDE_STATIC_LIBSTDC
|
|
bool "Generate spec file for easy static c++ linking on target"
|
|
help
|
|
Creates a spec file for gcc to eliminate the need for
|
|
-lstdc++, libgcc_pic and -static-libstdc flags when
|
|
statically linking c++ programs
|
|
default n
|
|
endmenu
|
|
|