mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-21 01:21:27 +00:00
gcc: Disable CC_GCC_ENABLE_DEFAULT_PIE on RISC-V bare metal builds
-pie is not supported on riscv*-elf-ld Signed-off-by: Joakim Nohlgård <joakim@nohlgard.se>
This commit is contained in:
parent
750133a284
commit
4b60bea2e9
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user