aboutsummaryrefslogtreecommitdiff
path: root/devel/gcc/Config.in
diff options
context:
space:
mode:
authorNoble Pepper <noblepepper@gmail.com>2019-06-25 08:18:06 -0500
committerRosen Penev <rosenp@gmail.com>2019-07-19 22:14:11 -0700
commit5caa181b1782799ff86b242f49bed66c996d749c (patch)
tree7cf530a5f386919a94d1df6af789ef672e8cd35e /devel/gcc/Config.in
parent1bb888f054273c248fc172dd60cac70cf9c43cb0 (diff)
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>
Diffstat (limited to 'devel/gcc/Config.in')
-rw-r--r--devel/gcc/Config.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/devel/gcc/Config.in b/devel/gcc/Config.in
new file mode 100644
index 000000000..f435b4567
--- /dev/null
+++ b/devel/gcc/Config.in
@@ -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
+