aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorTony Butler <spudz76@gmail.com>2022-12-25 15:11:48 -0800
committerHauke Mehrtens <hauke@hauke-m.de>2023-02-03 12:50:15 +0100
commit8bc72ea7be3976711dacc09f0fdab061d6e5152a (patch)
tree5c0da0f70b22d7737f31d62e72a466a0f19667ed /toolchain
parentfcde517d35c8591cbb578b1a7a49a0446b1ac646 (diff)
downloadupstream-8bc72ea7be3976711dacc09f0fdab061d6e5152a.tar.gz
upstream-8bc72ea7be3976711dacc09f0fdab061d6e5152a.tar.bz2
upstream-8bc72ea7be3976711dacc09f0fdab061d6e5152a.zip
treewide: strip useless `default n` Kconfig lines
Kconfig docs say: > The default value deliberately defaults to 'n' in order to avoid > bloating the build. Apply this rule everywhere, to avoid more cloning of bad examples Signed-off-by: Tony Butler <spudz76@gmail.com>
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in2
-rw-r--r--toolchain/gcc/Config.in5
2 files changed, 0 insertions, 7 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 6d3cc0a200..b0273acafd 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -197,7 +197,6 @@ menuconfig EXTRA_TARGET_ARCH
bool
prompt "Enable an extra toolchain target architecture" if TOOLCHAINOPTS
depends on !sparc
- default n
help
Some builds may require a 'biarch' toolchain. This option
allows you to specify an additional target arch.
@@ -252,7 +251,6 @@ config DWARVES
bool
prompt "Build pahole" if TOOLCHAINOPTS
depends on !HOST_OS_MACOS
- default n
help
Enable if you want to build pahole and the dwarves tools.
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index af4d54c73e..d150c9cc4b 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -27,21 +27,18 @@ config EXTRA_GCC_CONFIG_OPTIONS
config GCC_DEFAULT_PIE
bool
prompt "Build executable with PIE enabled by default" if TOOLCHAINOPTS
- default n
help
Use gcc configure option --enable-default-pie to turn on -fPIE and -pie by default.
config GCC_DEFAULT_SSP
bool
prompt "Build executable with Stack-Smashing Protection enabled by default" if TOOLCHAINOPTS
- default n
help
Use gcc configure option --enable-default-ssp to turn on -fstack-protector-strong by default.
config SJLJ_EXCEPTIONS
bool
prompt "Use setjump()/longjump() exceptions" if TOOLCHAINOPTS
- default n
help
Use old setjump()/longjump() exceptions instead of the newer
frame unwinding exceptions handling routines. Warning: increases
@@ -50,7 +47,6 @@ config SJLJ_EXCEPTIONS
config INSTALL_GFORTRAN
bool
prompt "Build/install fortran compiler?" if TOOLCHAINOPTS
- default n
help
Build/install GNU fortran compiler ?
@@ -58,6 +54,5 @@ config INSTALL_GCCGO
bool
prompt "Build/install Go compiler?" if TOOLCHAINOPTS
depends on USE_GLIBC || BROKEN
- default n
help
Build/install GNU gccgo compiler ?