mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
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>
This commit is contained in:
committed by
Rosen Penev
parent
1bb888f054
commit
5caa181b17
34
devel/gcc/Config.in
Normal file
34
devel/gcc/Config.in
Normal file
@@ -0,0 +1,34 @@
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user