gcc: Don't set --enable-default-pie by default

This changes how existing crosstool-ng setups work, causing many of
the bare-metal ones to fail.

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2023-02-22 23:17:34 -08:00 committed by Chris Packham
parent ee5a4026c3
commit 287fccb8bc

View File

@ -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