diff options
author | Keith Packard <keithp@keithp.com> | 2023-02-22 23:17:34 -0800 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2023-02-27 16:31:18 +1300 |
commit | 287fccb8bcd0d06b5bb825c680c6b984f7b4728c (patch) | |
tree | cf494ca651b5bfb57b62e92453fc5d6c7eb8179d /config | |
parent | ee5a4026c3560c6b313313cf78236a60e300ee93 (diff) | |
download | crosstool-ng-287fccb8bcd0d06b5bb825c680c6b984f7b4728c.tar.gz crosstool-ng-287fccb8bcd0d06b5bb825c680c6b984f7b4728c.tar.bz2 crosstool-ng-287fccb8bcd0d06b5bb825c680c6b984f7b4728c.zip |
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>
Diffstat (limited to 'config')
-rw-r--r-- | config/cc/gcc.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |