From 287fccb8bcd0d06b5bb825c680c6b984f7b4728c Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 22 Feb 2023 23:17:34 -0800 Subject: 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 --- config/cc/gcc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') 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 -- cgit v1.2.3