diff --git a/config/cc/gcc.in b/config/cc/gcc.in index 37c79efa..6d2e0e38 100644 --- a/config/cc/gcc.in +++ b/config/cc/gcc.in @@ -202,7 +202,7 @@ comment "Settings for libraries running on target" config CC_GCC_ENABLE_DEFAULT_PIE bool prompt "Enable Position Independent Executable as default" - default y + default n depends on GCC_6_or_later && ! WINDOWS && ! ARCH_MIPS && ! ARCH_AVR && ! ARCH_PRU depends on !(ARCH_RISCV && BARE_METAL) help