Skip to content

Commit 287fccb

Browse files
keith-packardcpackham
authored andcommitted
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 <[email protected]>
1 parent ee5a402 commit 287fccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/cc/gcc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ comment "Settings for libraries running on target"
202202
config CC_GCC_ENABLE_DEFAULT_PIE
203203
bool
204204
prompt "Enable Position Independent Executable as default"
205-
default y
205+
default n
206206
depends on GCC_6_or_later && ! WINDOWS && ! ARCH_MIPS && ! ARCH_AVR && ! ARCH_PRU
207207
depends on !(ARCH_RISCV && BARE_METAL)
208208
help

0 commit comments

Comments
 (0)