1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 19:03:52 +02:00
openwrt-packages/devel/gcc/Config.in
Noble Pepper 5caa181b17
gcc: update to version 7.4.0, Add config options
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>
2019-07-19 22:14:11 -07:00

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