aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/cc/gcc.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 9a9e7c65..e77b0716 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -202,6 +202,7 @@ config CC_GCC_ENABLE_DEFAULT_PIE
prompt "Enable Position Independent Executable as default"
default y
depends on GCC_6_or_later && ! WINDOWS && ! ARCH_MIPS && ! ARCH_AVR && ! ARCH_PRU
+ depends on !(ARCH_RISCV && BARE_METAL)
help
Pass --enable-default-pie to crossgcc's configure.